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 6a6179e

Browse filesBrowse files
committed
Ignore I202 to accommodate region tags.
1 parent 5723d42 commit 6a6179e
Copy full SHA for 6a6179e

File tree

Expand file treeCollapse file tree

1 file changed

+5
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-2
lines changed

‎nox.py

Copy file name to clipboardExpand all lines: nox.py
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,13 @@ def _setup_appengine_sdk(session):
135135

136136
PYTEST_COMMON_ARGS = []
137137

138+
# Ignore I202 "Additional newline in a section of imports." to accommodate
139+
# region tags in import blocks.
138140
FLAKE8_COMMON_ARGS = [
139141
'--show-source', '--builtin', 'gettext', '--max-complexity', '20',
140-
'--import-order-style', 'google',
141-
'--exclude', '.nox,.cache,env,lib,generated_pb2,*_pb2.py,*_pb2_grpc.py',
142+
'--import-order-style', 'google', '--exclude',
143+
'.nox,.cache,env,lib,generated_pb2,*_pb2.py,*_pb2_grpc.py',
144+
'--ignore=I202',
142145
]
143146

144147

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.