beartype / plum

Multiple dispatch in Python
https://beartype.github.io/plum
MIT License
497 stars 22 forks source link

Replace flake8 with ruff #124

Closed PhilipVinc closed 7 months ago

PhilipVinc commented 7 months ago

Ruff is a substitute for flake8, which has recently released their first stable release. Nevertheless, they are becoming increasingly popular in the last few years because of their support for auto-fixing flake errors, and much simpler configuration and larger rule set (see https://docs.astral.sh/ruff/rules/)

The syntax is ruff . --fix to check and auto fix errors.

I replaced flake8 with ruff in pre commit hook and added it as a dev dependency

coveralls commented 7 months ago

Pull Request Test Coverage Report for Build 6545546946


Totals Coverage Status
Change from base Build 6531020319: 0.0%
Covered Lines: 1095
Relevant Lines: 1128

💛 - Coveralls
wesselb commented 7 months ago

Yes, this is great! I've been using ruff at work and can confirm that it's great. Thanks, @PhilipVinc! :)