8000 Add explicit ignores · johnmanong/python-docs-samples@05861e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 05861e4

Browse files
committed
Add explicit ignores
1 parent 772d09b commit 05861e4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

nox.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,14 @@ def _setup_appengine_sdk(session):
136136
PYTEST_COMMON_ARGS = []
137137

138138
# Ignore I202 "Additional newline in a section of imports." to accommodate
139-
# region tags in import blocks.
139+
# region tags in import blocks. Since we specify an explicit ignore, we also
140+
# have to explicitly ignore the li 7B97 st of default ignores:
141+
# `E121,E123,E126,E226,E24,E704,W503,W504` as shown by `flake8 --help`.
140142
FLAKE8_COMMON_ARGS = [
141143
'--show-source', '--builtin', 'gettext', '--max-complexity', '20',
142-
'--import-order-style', 'google', '--exclude',
143-
'.nox,.cache,env,lib,generated_pb2,*_pb2.py,*_pb2_grpc.py',
144-
'--ignore=I202',
144+
'--import-order-style', 'google',
145+
'--exclude', '.nox,.cache,env,lib,generated_pb2,*_pb2.py,*_pb2_grpc.py',
146+
'--ignore=E121,E123,E126,E226,E24,E704,W503,W504,I202',
145147
]
146148

147149

0 commit comments

Comments
 (0)
0