Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

koblonczek
Copy link
Contributor

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.

Internal-tag: [#59925]
Signed-off-by: Krzysztof Obłonczek <[email protected]>
Internal-tag: [#59925]
Signed-off-by: Krzysztof Obłonczek <[email protected]>
@tmichalak
Copy link
Collaborator

LGTM

@tmichalak tmichalak merged commit 0186044 into chipsalliance:main Jun 7, 2024
164 of 165 checks passed
@tmichalak tmichalak deleted the 59925-fix-lint branch October 22, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants