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

Use pycodestyle in CI and fix style issues in EasyConfigs #21405

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Flamefire
Copy link
Contributor

@Flamefire Flamefire commented Sep 13, 2024

framework uses pycodestyle if available and pep8 only as a fallback and later likely not at all (pep8 was renamed to pycodestyle and the existing package is no longer updated)
So we need to check for either both or (more future proof) only for pycodestyle.

Install it in CI to actually test it and fix the found issues to make the test pass again.

Requires one of:

framework uses pycodestyle if available and pep8 only as a fallback and
later likely not at all (pep8 was renamed to pycodestyle and the
existing package is no longer updated)
So we need to check for either both or (more future proof) only for
pycodestyle.
pep8 has bugs which makes it miss many issues like long-lines in docstrings.
This might make the tests fail if both packages are available as
framework prefers the newer pycodestyle.
These make the test fail, so fix them.
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.

1 participant