Enable the W504 binary operator rule in flake8 (#2825)

This commit is contained in:
correctmost 2024-11-16 02:57:08 -05:00 committed by GitHub
parent 3d2673ac78
commit 6102a08c6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
[flake8]
count = True
# Several of the following could be autofixed or improved by running the code through psf/black
ignore = E128,E722,W191,W503,W504
ignore = E128,E722,W191,W503
max-complexity = 40
max-line-length = 220
show-source = True

View File

@ -1,5 +1,5 @@
on: [ push, pull_request ]
name: flake8 linting (5 ignores)
name: flake8 linting (4 ignores)
jobs:
flake8:
runs-on: ubuntu-latest

View File

@ -83,8 +83,8 @@ class Help:
for entry in help.group_entries:
help_output += (
entry.description.ljust(max_desc_width, ' ') +
', '.join(entry.keys) + '\n'
entry.description.ljust(max_desc_width, ' ')
+ ', '.join(entry.keys) + '\n'
)
help_output += '\n'