Skip to content

Commit

Permalink
Disable flake8 W503
Browse files Browse the repository at this point in the history
W503 warning in Flake8 goes against PEP 8 recommendation, disable it to
make it compatible with black.

    W503 line break before binary operator

https://peps.python.org/pep-0008/#should-a-line-break-before-or-after-a-binary-operator
  • Loading branch information
qixiang committed Sep 13, 2023
1 parent fb89e02 commit 57bcf1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ignore_outcome = True

[flake8]
skip_install = true
ignore = E501,E731,W504
ignore = E501,E731,W503,W504
exclude = dev_scripts/*,freshmaker/migrations/*,.tox/*,build/*,__pycache__,scripts/print_handlers_md.py,.copr/*,.env

[testenv:docs]
Expand Down

0 comments on commit 57bcf1d

Please sign in to comment.