gauteh / lieer

Fast email-fetching, sending, and two-way tag synchronization between notmuch and GMail
http://lieer.gaute.vetsj.com
Other
555 stars 62 forks source link

Enable more ruff rules #269

Closed skangas closed 11 months ago

skangas commented 11 months ago

This PR enables a bunch more ruff rules. They have quite a long list of various rules, so I picked some of the more low-hanging fruit here.

Some of the fixes are arguably mostly stylistic (e.g. isort might help when merging, but doesn't do much else), but some of them might improve performance (Perflint, flake8-comprehensions), even if only slightly.

gauteh commented 11 months ago

Merged, thanks.