File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,9 @@ def mypy(session: nox.Session, install_deps: bool = True) -> None:
6868 # Since we use other packages in the frequenz namespace, we need to run the
6969 # checks for frequenz.sdk from the installed package instead of the src
7070 # directory.
71- mypy_paths = [path for path in source_file_paths (session )
72- if not path .startswith ("src" )]
71+ mypy_paths = [
72+ path for path in source_file_paths (session ) if not path .startswith ("src" )
73+ ]
7374
7475 mypy_cmd = [
7576 "mypy" ,
@@ -115,10 +116,7 @@ def docstrings(session: nox.Session, install_deps: bool = True) -> None:
115116 # This is needed only for the `src` dir, so we exclude the other top level
116117 # dirs that contain code.
117118 darglint_paths = filter (
118- lambda path : not (
119- path .startswith ("tests" )
120- or path .startswith ("benchmarks" )
121- ),
119+ lambda path : not (path .startswith ("tests" ) or path .startswith ("benchmarks" )),
122120 source_file_paths (session ),
123121 )
124122 session .run (
You can’t perform that action at this time.
0 commit comments