Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

botscan-rpa

A specialized linter for RPA automation with Python, using Black and Pylint with smart checks focused on process robotics.


Overview

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/except blocks.

Installation

Clone the repository and install it with:

git clone https://github.com/ruan-stt/botscan-rpa.git
cd botscan-rpa
pip install -e .

About

'botscan' is a Python-based command-line tool designed to analyze and format automation scripts using pylint and black, with additional RPA-specific rules and exception handling recommendations. It helps developers maintain clean, consistent, and resilient automation code, offering multilingual support (English πŸ‡ΊπŸ‡Έ and Brazilian Portuguese πŸ‡§πŸ‡·).

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages