Skip to content

fix: tox pep8 target, so that it can run - #1325

Merged
max-wittig merged 1 commit into
python-gitlab:masterfrom
JohnVillalovos:jlvillal/pep8
Feb 24, 2021
Merged

fix: tox pep8 target, so that it can run#1325
max-wittig merged 1 commit into
python-gitlab:masterfrom
JohnVillalovos:jlvillal/pep8

Conversation

@JohnVillalovos

Copy link
Copy Markdown
Member

Previously running the pep8 target would fail as flake8 was not
installed.

Now install flake8 for the pep8 target.

NOTE: Running the pep8 target fails as there are many warnings/errors.
But it does allow us to run it and possibly work on reducing these
warnings/errors in the future.

In addition, add two checks to the ignore list as black takes care of
formatting. The two checks added to the ignore list are:

  • E501: line too long
  • W503: line break before binary operator

Previously running the pep8 target would fail as flake8 was not
installed.

Now install flake8 for the pep8 target.

NOTE: Running the pep8 target fails as there are many warnings/errors.
But it does allow us to run it and possibly work on reducing these
warnings/errors in the future.

In addition, add two checks to the ignore list as black takes care of
formatting. The two checks added to the ignore list are:
  * E501: line too long
  * W503: line break before binary operator
@max-wittig

Copy link
Copy Markdown
Member

That's a nice change. We should also add that to CI in the future.

@max-wittig
max-wittig merged commit bb227d3 into python-gitlab:master Feb 24, 2021
@JohnVillalovos
JohnVillalovos deleted the jlvillal/pep8 branch February 24, 2021 18:54
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