Skip to content

Commit

Permalink
Change flake8 styling rule from W503 to W504.
Browse files Browse the repository at this point in the history
  • Loading branch information
mzweilin committed Jun 5, 2024
1 parent 36609c7 commit 42aa1ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ repos:
hooks:
- id: flake8
# ignore E203 because black is used for formatting.
# W503 and W504 are conflicting rules. We ignore W503 in favor of W504.
args:
[
"--ignore",
"E203,E501,F401,F403,F841,W504",
"E203,E501,F401,F403,F841,W503",
"--exclude",
"logs/*,data/*",
]
Expand Down

0 comments on commit 42aa1ba

Please sign in to comment.