canonical / traefik-route-k8s-operator

https://charmhub.io/traefik-route-k8s
Apache License 2.0
0 stars 3 forks source link

use ruff instead of flake8 #37

Closed lucabello closed 1 year ago

lucabello commented 1 year ago

The flake8 plugins we use are re-implemented in ruff, which is why they have been removed from the dependencies.

isort is enabled (and used when formatting) through the I001 rule.

The "exclude list" has been updated to omit folders that ruff excludes by default.

Everything else is the same, the only difference being two new rules being ignored (which weren't checked before anyway):