File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
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):
207207 """Runs py.test for a sample using Python 3.x"""
208208 _session_tests (session , sample )
209209
210-
211- BLACK_VERSION = "black==19.3b0"
212-
213-
214210@nox .session (python = "3.6" )
215211def 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" )
220213
221214 local_names = _determine_local_import_names ("." )
222215 args = FLAKE8_COMMON_ARGS + [
@@ -226,16 +219,6 @@ def lint(session):
226219 ]
227220 session .run ("flake8" , * args )
228221
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-
239222SAMPLES_WITH_GENERATED_READMES = sorted (list (_collect_dirs ("." , suffix = ".rst.in" )))
240223
241224
You can’t perform that action at this time.
0 commit comments