Browse Source

Sync flake8 config with black
97222e7e89b42c6f87835c3277bcb5de8312d482

shadchin 8 months ago
parent
commit
1da5b68c73
1 changed files with 4 additions and 1 deletions
  1. 4 1
      build/config/tests/flake8/flake8.conf

+ 4 - 1
build/config/tests/flake8/flake8.conf

@@ -15,12 +15,15 @@ select =
 ignore =
     # closing bracket does not match indentation of opening bracket's line
     E123,
-    # whitespace before ':'
+    # whitespace before ':' (for black https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#e203)
     E203,
     # missing whitespace around arithmetic operator
     E226,
     # multiple spaces after ',' or tab after ','
     E24,
+    # multiple statements on one line (for black https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#e701-e704)
+    E701,
+    E704,
 
     # line break before binary operator
     W503,