Skip to content

Conversation

@JohnVillalovos
Copy link
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
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