From 56c65a3661b561a391c5173d74eb04b7085fe53d Mon Sep 17 00:00:00 2001 From: salvidor Date: Sun, 6 Dec 2020 15:54:29 -0700 Subject: [PATCH 1/2] pinning black version in nox file to stable formatting version. --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 58ec712..95604bc 100644 --- a/noxfile.py +++ b/noxfile.py @@ -6,7 +6,7 @@ @nox.session(python=py_versions, reuse_venv=True) def blacken(session): - session.install("black") + session.install("black==19.10b0") session.run("black", "fables", "tests", "noxfile.py", "setup.py") From 24632677d82fde027815079929570697a13dcf80 Mon Sep 17 00:00:00 2001 From: salvidor Date: Sun, 6 Dec 2020 20:40:40 -0700 Subject: [PATCH 2/2] added link to unstable formatting issue --- noxfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/noxfile.py b/noxfile.py index 95604bc..4474a1d 100644 --- a/noxfile.py +++ b/noxfile.py @@ -6,6 +6,8 @@ @nox.session(python=py_versions, reuse_venv=True) def blacken(session): + # pinning black version until unstable formatting is fixed + # https://github.com/psf/black/issues/1629 session.install("black==19.10b0") session.run("black", "fables", "tests", "noxfile.py", "setup.py")