We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e69c7b0 commit 56f5f3bCopy full SHA for 56f5f3b
secretmanager/snippets/noxfile.py
@@ -28,8 +28,9 @@
28
# WARNING - WARNING - WARNING - WARNING - WARNING
29
30
31
-# Copy `noxfile_config.py` to your directory and modify it instead.
+BLACK_VERSION = "black==19.10b0"
32
33
+# Copy `noxfile_config.py` to your directory and modify it instead.
34
35
# `TEST_CONFIG` dict is a configuration hook that allows users to
36
# modify the test configurations. The values here should be in sync
@@ -159,7 +160,7 @@ def lint(session: nox.sessions.Session) -> None:
159
160
161
@nox.session
162
def blacken(session: nox.sessions.Session) -> None:
- session.install("black")
163
+ session.install(BLACK_VERSION)
164
python_files = [path for path in os.listdir(".") if path.endswith(".py")]
165
166
session.run("black", *python_files)
0 commit comments