File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2828# WARNING - WARNING - WARNING - WARNING - WARNING
2929# WARNING - WARNING - WARNING - WARNING - WARNING
3030
31- # Copy `noxfile_config.py` to your directory and modify it instead.
31+ BLACK_VERSION = "black==19.10b0"
3232
33+ # Copy `noxfile_config.py` to your directory and modify it instead.
3334
3435# `TEST_CONFIG` dict is a configuration hook that allows users to
3536# modify the test configurations. The values here should be in sync
@@ -159,7 +160,7 @@ def lint(session: nox.sessions.Session) -> None:
159160
160161@nox .session
161162def blacken (session : nox .sessions .Session ) -> None :
162- session .install ("black" )
163+ session .install (BLACK_VERSION )
163164 python_files = [path for path in os .listdir ("." ) if path .endswith (".py" )]
164165
165166 session .run ("black" , * python_files )
You can’t perform that action at this time.
0 commit comments