canonical / openstack-exporter-operator

The openstack-exporter-operator is a machine charm for openstack-exporter.
https://charmhub.io/openstack-exporter
Apache License 2.0
1 stars 6 forks source link

Make `tox -e lint` and `tox -e format` consistent #33

Closed chanchiwai-ray closed 3 months ago

chanchiwai-ray commented 3 months ago

We have the follow checks in tox -e format

    codespell -w .
    ruff format .
    ruff check --fix --exit-zero --silent .

but we only have the follow checks in tox -e lint

    codespell .
    ruff check --no-fix .
    ...

So, there is a missing check: ruff format --diff . in the lint environment

chanchiwai-ray commented 3 months ago

Completed