Skip to content

Commit

Permalink
Enable the W504 binary operator rule in flake8 (#2825)
Browse files Browse the repository at this point in the history
  • Loading branch information
correctmost authored Nov 16, 2024
1 parent 3d2673a commit 6102a08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on: [ push, pull_request ]
name: flake8 linting (5 ignores)
name: flake8 linting (4 ignores)
jobs:
flake8:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions archinstall/tui/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def get_help_text() -> str:

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'
Expand Down

0 comments on commit 6102a08

Please sign in to comment.