@@ -136,7 +136,7 @@ def tests(session, coverage, pkg_specs):
136136 "-m" , "pytest" , "--cache-clear" ,
137137 f"--junitxml={ Folders .test_xml } " , f"--html={ Folders .test_html } " ,
138138 "-v" , "tests/" )
139- session .run ("coverage" , "report" )
139+ session .run ("coverage" , "report" ) # this shows in terminal + fails under XX%, same as --cov-report term --cov-fail-under=70 # noqa
140140 session .run ("coverage" , "xml" , "-o" , f"{ Folders .coverage_xml } " )
141141 session .run ("coverage" , "html" , "-d" , f"{ Folders .coverage_reports } " )
142142 # delete this intermediate file, it is not needed anymore
@@ -154,7 +154,7 @@ def flake8(session):
154154 """Launch flake8 qualimetry."""
155155
156156 session .install ("-r" , str (Folders .ci_tools / "flake8-requirements.txt" ))
157- session .run ( "pip" , " install" , "." )
157+ session .install ( "." )
158158
159159 rm_folder (Folders .flake8_reports )
160160 Folders .flake8_reports .mkdir (parents = True , exist_ok = True )
@@ -285,7 +285,7 @@ def gha_list(session):
285285 out = session .run ("nox" , "-l" , "--json" , "-s" , "tests" , external = True , silent = True )
286286 sessions_list = [{"python" : s ["python" ], "session" : s ["session" ]} for s in json .loads (out )]
287287
288- # TODO filter
288+ # TODO filter ?
289289
290290 # print the list so that it can be caught by GHA.
291291 # Note that json.dumps is optional since this is a list of string.
0 commit comments