Skip to content

Commit

Permalink
fix: pin black lint tool version (#738)
Browse files Browse the repository at this point in the history
A recent release of the black linting tool broke our automated lint.
Pin the version so it doesn't break periodically.
  • Loading branch information
SurferJeffAtGoogle authored Aug 26, 2020
1 parent 637f8aa commit d019812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ def generate_protos(session):

@nox.session(python=['3.6', '3.8'])
def blacken(session):
session.install('black')
session.install('black==19.10b0')
session.run('black', 'synthtool', 'tests', 'autosynth', 'integration_tests')


@nox.session(python=['3.6', '3.8'])
def lint(session):
session.install('mypy', 'flake8', 'black')
session.install('mypy', 'flake8', 'black==19.10b0')
session.run('pip', 'install', '-e', '.')
session.run('black', '--check', 'synthtool', 'tests')
session.run('flake8', 'synthtool', 'tests', 'autosynth', 'integration_tests')
Expand Down

0 comments on commit d019812

Please sign in to comment.