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

Slightly relax coding-style checks #1652

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .pep8speaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,23 @@ scanner:

pycodestyle:
show-source: True
max-line-length: 90 # Default is 80, but a little bit more is hardly a
# problem on any modern device and can aid readability
# by avoiding splits in self-contained lines.

ignore: # Errors and warnings to ignore

- E126 # Limits split-line continuations to be indented only by 4 spaces.
# This is not required by PEP8 and is often counterproductive for
# readability, particularly when the following line is indented
# to the same level and thus does not stand out as a new statement.

- E225 # Whitespace around all infix operators. PEP8 requires only
# that the whitespace should be the same on both sides of the
# operator, but often it is more compact and readable to just
# not have whitespace at all, particularly when writing
# something like a*b + c.

- E402
- E741
- W503
Expand Down