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

CI: fixes and updates to pre-commit workflow for linting pass #284

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

sadielbartholomew
Copy link
Member

@sadielbartholomew sadielbartholomew commented Jan 5, 2024

#283 shows that the linting workflow is running into numerous failures, mostly E231, which I don't see locally. This is to update the workflow and/or make fixes so we are up-to-date and can see only actual linting issues.

[WIP as I check the results of the CI jobs, since locally the linting passes for me so it us harder to isolate there what versions etc. are causing the (majority of the) error code violation raises.]

@sadielbartholomew sadielbartholomew added testing Issues related to units tests and their coverage GitHub actions Anything relating to GitHub actions labels Jan 5, 2024
@sadielbartholomew sadielbartholomew self-assigned this Jan 5, 2024
@sadielbartholomew
Copy link
Member Author

Oh, excellent - I was thinking it might be more complicated, hence the PR rather than lone commit(s) to address, but all that was needed was (my first guess) to update flake8 from the older (late 2022 release) 6.0.0 to 6.1.0 (yesterday the first 7. version was released but since it might be unstable I'll wait a little before updating us to that).

Trivial PR so merging.

@sadielbartholomew sadielbartholomew merged commit 1ca764e into NCAS-CMS:main Jan 5, 2024
2 checks passed
@sadielbartholomew sadielbartholomew deleted the fix-linting branch January 5, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GitHub actions Anything relating to GitHub actions testing Issues related to units tests and their coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant