Skip to content

Commit

Permalink
build: allow binary operator after newline
Browse files Browse the repository at this point in the history
It looks like they are currently forbidden both after and before
newlines: we choose the one that agrees with
https://www.flake8rules.com/rules/W503.html

> line breaks should occur before the binary operator because it keeps
> all operators aligned
  • Loading branch information
michalc committed Aug 3, 2020
1 parent 38d4672 commit 120ad74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -6,11 +6,11 @@ repos:
args:
- --in-place
- --max-line-length=99
- --ignore=E402
- --ignore=E402,W503
- id: flake8
args:
- --max-line-length=99
- --ignore=E402
- --ignore=E402,W503
- id: check-ast
- id: check-case-conflict
- id: debug-statements
Expand Down

0 comments on commit 120ad74

Please sign in to comment.