We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c8aece commit 1f1148dCopy full SHA for 1f1148d
1 file changed
synthtool/gcp/templates/python_samples/noxfile.py.j2
@@ -148,7 +148,16 @@ def lint(session):
148
"."
149
]
150
session.run("flake8", *args)
151
+#
152
+# Black
153
154
+
155
+@nox.session
156
+def blacken(session):
157
+ session.install("black")
158
+ python_files = [path for path in os.listdir(".") if path.endswith(".py")]
159
160
+ session.run("black", *python_files)
161
162
#
163
# Sample Tests
0 commit comments