File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
Original file line number Diff line number Diff line change @@ -207,16 +207,9 @@ def py3(session, sample):
207
207
"""Runs py.test for a sample using Python 3.x"""
208
208
_session_tests (session , sample )
209
209
210
-
211
- BLACK_VERSION = "black==19.3b0"
212
-
213
-
214
210
@nox .session (python = "3.6" )
215
211
def lint (session ):
216
- """Checks if blacken would result in any changes in the sample."""
217
- session .install ("flake8" , "flake8-import-order" , BLACK_VERSION )
218
-
219
- session .run ("black" , "--check" , "." )
212
+ session .install ("flake8" , "flake8-import-order" )
220
213
221
214
local_names = _determine_local_import_names ("." )
222
215
args = FLAKE8_COMMON_ARGS + [
@@ -226,16 +219,6 @@ def lint(session):
226
219
]
227
220
session .run ("flake8" , * args )
228
221
229
-
230
- @nox .session (python = "3.6" )
231
- def blacken (session ):
232
- """Run black.
233
- Format code to uniform standard.
234
- """
235
- session .install (BLACK_VERSION )
236
- session .run ("black" , "." )
237
-
238
-
239
222
SAMPLES_WITH_GENERATED_READMES = sorted (list (_collect_dirs ("." , suffix = ".rst.in" )))
240
223
241
224
You can’t perform that action at this time.
0 commit comments