pycontribs / jira

Python Jira library. Development chat available on https://matrix.to/#/#pycontribs:matrix.org
https://jira.readthedocs.io
BSD 2-Clause "Simplified" License
1.96k stars 870 forks source link

use ruff as default linter #1600

Closed adehad closed 1 year ago

adehad commented 1 year ago

Summary of changes

  1. Replaces flake8 and isort with ruff, a more performant variant

Interesting to note

  1. lots of default plugin support with pyproject compatible config
  2. has autofixing for lots of the rules, this is the main motivator to consider this package, we want to spend less time addressing lint errors and more time actually writing code
studioj commented 1 year ago

a why, would be useful

adehad commented 1 year ago

@studioj have updated the summary a bit, I was really impressed by the autofix capabilities at work so I think it would be a great addition to add to reduce manually addressing many of the lint errors that can be avoided.

studioj commented 1 year ago

Sounds ok for me on the other hand I really like black 😂

adehad commented 1 year ago

Sounds ok for me on the other hand I really like black 😂

yep that's a mistake on my end, this tool is meant to be used together with black for now

adehad commented 1 year ago

@studioj feel free to merge (you should have the permissions!)