tartley / colorama

Simple cross-platform colored terminal text in Python
BSD 3-Clause "New" or "Revised" License
3.51k stars 249 forks source link

ci/lint: convert lints to pre-commit & Ruff #391

Open Borda opened 4 months ago

Borda commented 4 months ago

simplify the linting with easier-to-read pre-commit, which can also be installed as a bot (which may commit linting fixes to open PRs) With his pre-commit, we also explicitly set used versions, so there are sudden issues due to the recently released new linter version Moreover, wrapping several linters and formatted to Ruff rule, which is a much faster tool:

cc: @tartley @hugovk

Borda commented 3 weeks ago

@tartley @hugovk

mind have a look, when you have time 🦩

hugovk commented 3 weeks ago

I don't have merge permissions here, and the pre-commit CI failed.