File tree 4 files changed +12
-8
lines changed
videointelligence/samples
4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 28
28
# WARNING - WARNING - WARNING - WARNING - WARNING
29
29
# WARNING - WARNING - WARNING - WARNING - WARNING
30
30
31
- # Copy `noxfile_config.py` to your directory and modify it instead.
31
+ BLACK_VERSION = "black==19.10b0"
32
32
33
+ # Copy `noxfile_config.py` to your directory and modify it instead.
33
34
34
35
# `TEST_CONFIG` dict is a configuration hook that allows users to
35
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
160
161
@nox .session
161
162
def blacken (session : nox .sessions .Session ) -> None :
162
- session .install ("black" )
163
+ session .install (BLACK_VERSION )
163
164
python_files = [path for path in os .listdir ("." ) if path .endswith (".py" )]
164
165
165
166
session .run ("black" , * python_files )
Original file line number Diff line number Diff line change 28
28
# WARNING - WARNING - WARNING - WARNING - WARNING
29
29
# WARNING - WARNING - WARNING - WARNING - WARNING
30
30
31
- # Copy `noxfile_config.py` to your directory and modify it instead.
31
+ BLACK_VERSION = "black==19.10b0"
32
32
33
+ # Copy `noxfile_config.py` to your directory and modify it instead.
33
34
34
35
# `TEST_CONFIG` dict is a configuration hook that allows users to
35
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
160
161
@nox .session
161
162
def blacken (session : nox .sessions .Session ) -> None :
162
- session .install ("black" )
163
+ session .install (BLACK_VERSION )
163
164
python_files = [path for path in os .listdir ("." ) if path .endswith (".py" )]
164
165
165
166
session .run ("black" , * python_files )
Original file line number Diff line number Diff line change 28
28
# WARNING - WARNING - WARNING - WARNING - WARNING
29
29
# WARNING - WARNING - WARNING - WARNING - WARNING
30
30
31
- # Copy `noxfile_config.py` to your directory and modify it instead.
31
+ BLACK_VERSION = "black==19.10b0"
32
32
33
+ # Copy `noxfile_config.py` to your directory and modify it instead.
33
34
34
35
# `TEST_CONFIG` dict is a configuration hook that allows users to
35
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
160
161
@nox .session
161
162
def blacken (session : nox .sessions .Session ) -> None :
162
- session .install ("black" )
163
+ session .install (BLACK_VERSION )
163
164
python_files = [path for path in os .listdir ("." ) if path .endswith (".py" )]
164
165
165
166
session .run ("black" , * python_files )
Original file line number Diff line number Diff line change 28
28
# WARNING - WARNING - WARNING - WARNING - WARNING
29
29
# WARNING - WARNING - WARNING - WARNING - WARNING
30
30
31
- # Copy `noxfile_config.py` to your directory and modify it instead.
31
+ BLACK_VERSION = "black==19.10b0"
32
32
33
+ # Copy `noxfile_config.py` to your directory and modify it instead.
33
34
34
35
# `TEST_CONFIG` dict is a configuration hook that allows users to
35
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
160
161
@nox .session
161
162
def blacken (session : nox .sessions .Session ) -> None :
162
- session .install ("black" )
163
+ session .install (BLACK_VERSION )
163
164
python_files = [path for path in os .listdir ("." ) if path .endswith (".py" )]
164
165
165
166
session .run ("black" , * python_files )
You can’t perform that action at this time.
0 commit comments