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
src/tox.ini: Rename pycodestyle to pycodestyle-minimal, add full pycodestyle as recommendation #31004
Comments
comment:2
This is a good idea. Two points:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Thanks for the review! I've now implemented your suggestions. |
comment:7
In |
comment:8
Also, the help message shown by |
comment:10
Replying to @mkoeppe:
You are probably right, but that's not really related to this ticket. |
comment:11
Replying to @mkoeppe:
I'm not sure what you mean, but
|
comment:13
Replying to @tobiasdiez:
This is an interesting error - something seems to be rewriting this shell scripts as if it is a Python script - perhaps the newest version of pip? |
comment:15
Replying to @mkoeppe:
Done |
Reviewer: Matthias Koeppe, ... |
This comment has been minimized.
This comment has been minimized.
Changed author from Tobias Diez to Tobias Diez, Matthias Koeppe |
comment:19
Replying to @mkoeppe:
Maybe because I invoke |
comment:20
Let's investigate this in #31049. It's not related to this ticket. |
comment:21
Ready for review... |
comment:22
Is there a reviewer for my changes on this ticket? |
comment:23
The other changes look good to me as well. Thanks! |
Changed reviewer from Matthias Koeppe, ... to Matthias Koeppe, Tobias Diez |
Changed branch from public/build/minimal_codestyle to |
The current pycodestyle configuration only covers a few rules that are also enforced by the patchbot. While this is a good starting point, IDEs pick up this configuration and only show warnings for these rules. In order to make sage's code adhere more to the pep8 recommendations, it is desirable to get warnings for all code style errors. Thus, in this ticket, we enable all pycodestyle warnings. These can be tested as usually by calling
pycodestyle
ortox -e pycodestyle
. Moreover, the current minimal ruleset is tested via the new environmenttox -e pycodestyle-minimal
, which is also used in the new lint github action workflow.CC: @mkoeppe @jplab @fchapoton
Component: build
Author: Tobias Diez, Matthias Koeppe
Branch/Commit:
a0d9b59
Reviewer: Matthias Koeppe, Tobias Diez
Issue created by migration from https://trac.sagemath.org/ticket/31004
The text was updated successfully, but these errors were encountered: