eclipse / paho.mqtt.python

paho.mqtt.python
Other
2.15k stars 724 forks source link

GitHub Action to lint Python code with ruff #718

Closed cclauss closed 7 months ago

cclauss commented 1 year ago

Failing tests are fixed in #712

Ruff supports over 500 lint rules and can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing (in Rust) tens or hundreds of times faster than any individual tool.

The ruff Action uses minimal steps to run in ~5 seconds, rapidly providing intuitive GitHub Annotations to contributors.

image

cclauss commented 7 months ago

@PierreF Your review, please.