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.
This MR unifies linting sessions in noxfile and adds another session that will fail the CI when
black
orisort
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.