Skip to content

Commit

Permalink
Re-enable lint for tests, remove usage of pylint (#4921)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Wayne Parrott committed Feb 24, 2018
1 parent 35023bb commit 17cdd03
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
6 changes: 6 additions & 0 deletions packages/google-cloud-resource-manager/.flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
[flake8]
exclude =
# Exclude generated code.
**/proto/**
**/gapic/**
*_pb2.py

# Standard linting exemptions.
__pycache__,
.git,
*.pyc,
Expand Down
11 changes: 2 additions & 9 deletions packages/google-cloud-resource-manager/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,9 @@ def lint(session):
serious code quality issues.
"""
session.interpreter = 'python3.6'
session.install('flake8', 'pylint', 'gcp-devrel-py-tools', *LOCAL_DEPS)
session.install('flake8')
session.install('.')
session.run('flake8', 'google/cloud/resource_manager')
session.run(
'gcp-devrel-py-tools', 'run-pylint',
'--config', 'pylint.config.py',
'--library-filesets', 'google',
'--test-filesets', 'tests',
# Temporarily allow this to fail.
success_codes=range(0, 100))
session.run('flake8', 'google', 'tests')


@nox.session
Expand Down

0 comments on commit 17cdd03

Please sign in to comment.