You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the codebase uses 2-space indentation, which differs from PEP 8's recommended 4 spaces. This occasionally leads to inconsistencies in pull requests where contributors accidentally use 4 spaces instead of 2.
Benefits of adding Ruff:
Automated formatting ensures consistent code style across all contributions
Fast and comprehensive linting catches common issues early
Single tool for both formatting and linting, simplifying the toolchain
Significantly faster than alternatives like Black + Flake8 + isort
Common issues it would prevent:
Inconsistent indentation between files
Unused imports and variables
Potential bugs that static analysis can catch
Style inconsistencies in pull requests
I'm happy to help implement this if there's interest.
The text was updated successfully, but these errors were encountered:
Currently, the codebase uses 2-space indentation, which differs from PEP 8's recommended 4 spaces. This occasionally leads to inconsistencies in pull requests where contributors accidentally use 4 spaces instead of 2.
Benefits of adding Ruff:
Common issues it would prevent:
I'm happy to help implement this if there's interest.
The text was updated successfully, but these errors were encountered: