Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 05861e4

Browse filesBrowse files
committed
Add explicit ignores
1 parent 772d09b commit 05861e4
Copy full SHA for 05861e4

File tree

Expand file treeCollapse file tree

1 file changed

+6
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-4
lines changed

‎nox.py

Copy file name to clipboardExpand all lines: nox.py
+6-4Lines 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 list 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.