Skip to content

Commit

Permalink
Ignore I202 to accommodate region tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsg committed Nov 9, 2017
1 parent 6785420 commit c8a52a0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,13 @@ def _setup_appengine_sdk(session):

PYTEST_COMMON_ARGS = []

# Ignore I202 "Additional newline in a section of imports." to accommodate
# region tags in import blocks.
FLAKE8_COMMON_ARGS = [
'--show-source', '--builtin', 'gettext', '--max-complexity', '20',
'--import-order-style', 'google',
'--exclude', '.nox,.cache,env,lib,generated_pb2,*_pb2.py,*_pb2_grpc.py',
'--import-order-style', 'google', '--exclude',
'.nox,.cache,env,lib,generated_pb2,*_pb2.py,*_pb2_grpc.py',
'--ignore=I202',
]


Expand Down

0 comments on commit c8a52a0

Please sign in to comment.