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
IntelMQ has a very weak formatting/linting rules what is not a typical thing in modern development, where projects tend to provide strict & automated formatting to keep the code style consistent.
Especially in Python world, there is a general movement last years to implement the black formatter, and currently most black-compatible ruff formatter, which also replace some other tools, like isort.
I'd like to introduce ruff with import sorting enabled in IntelMQ. This would provide a consistent code style without much developer action required as black/ruff enforces the style automatically. The code style is compliant with PEP8, and in addition lowers the number of git conflicts, removes unused imports, and can be fully configured to support any of our style configurations.
The text was updated successfully, but these errors were encountered:
IntelMQ has a very weak formatting/linting rules what is not a typical thing in modern development, where projects tend to provide strict & automated formatting to keep the code style consistent.
Especially in Python world, there is a general movement last years to implement the black formatter, and currently most black-compatible ruff formatter, which also replace some other tools, like isort.
I'd like to introduce ruff with import sorting enabled in IntelMQ. This would provide a consistent code style without much developer action required as black/ruff enforces the style automatically. The code style is compliant with PEP8, and in addition lowers the number of git conflicts, removes unused imports, and can be fully configured to support any of our style configurations.
The text was updated successfully, but these errors were encountered: