From 120ad74df7edb6559943c44e4e6282ec19bf7af8 Mon Sep 17 00:00:00 2001 From: Michal Charemza Date: Mon, 3 Aug 2020 11:46:29 +0100 Subject: [PATCH] build: allow binary operator after newline 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 --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index db825ec..4415794 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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