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 authored Feb 24, 2018
1 parent 834c98f commit ad28603
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-python-speech/.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-python-speech/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,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/speech')
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 ad28603

Please sign in to comment.