From d0198121927f606e113275a4b0f3560a7a821470 Mon Sep 17 00:00:00 2001 From: Jeffrey Rennie Date: Wed, 26 Aug 2020 14:08:41 -0700 Subject: [PATCH] fix: pin black lint tool version (#738) A recent release of the black linting tool broke our automated lint. Pin the version so it doesn't break periodically. --- noxfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index de59143b9..75678005c 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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')