Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
Recently, the #923 PR was merged, adding the
flake8
linting job to theci.yml
workflow. Currently this job returns many linting errors that need to be fixed. @nponeccop then suggested to narrow the amount of linting errors to be returned by altering theflake8
command in the job so that the list of errors would become manageable. After that first list of linting errors are fixed, we can gradually ignore less errors and fix them until we have no linting errors in the project anymore.Changes
flake8
linting command to only respond to a specific amount of linting errorscontinue-on-error
tofalse
to enforce code quality for this narrower amount of linting errorsflake8
used in CI inREADME.md
Documentation
README.md
has been updated with regards to rules.Test Plan
As
continue-on-error
is now set tofalse
, the CI should now succeed in order to be able to merge the PR. And if it succeeds, it also means the narrower set of linting errors have been fixed properly.PR Quality Checklist