chipsalliance / Cores-VeeR-EL2

VeeR EL2 Core
https://chipsalliance.github.io/Cores-VeeR-EL2/html/
Apache License 2.0
246 stars 74 forks source link

Fix black and isort not failing CI on incorrect formatting #178

Closed koblonczek closed 3 months ago

koblonczek commented 4 months ago

This MR unifies linting sessions in noxfile and adds another session that will fail the CI when black or isort detects incorrect formatting. Previously these would also detect it but return with exit code 0, so it would make the CI pass even though there were linting issues.

Several files had to be formatted after this change to make the CI pass again. This change is in a separate commit.

tmichalak commented 3 months ago

LGTM