A specialized linter for RPA automation with Python, using Black and Pylint with smart checks focused on process robotics.
botscan-rpa is a command-line tool that enforces good coding practices for Python automation scripts, especially for those developing RPA with libraries like pywinauto, botcity, uiautomation, and others.
It uses:
- Pylint==3.1.0 to detect style issues and potential bugs.
- Black==24.3.0 to automatically format code.
- π‘οΈ Custom rules for automation:
- Prevents uncontrolled use of
print(). - Detects
time.sleep()without explanation. - Warns about hardcoded paths like
C:\\Users\\.... - Identifies dangerous generic
try/exceptblocks.
- Prevents uncontrolled use of
Clone the repository and install it with:
git clone https://github.com/ruan-stt/botscan-rpa.git
cd botscan-rpa
pip install -e .