Skip to content

Commit fe073fd

Browse files
committed
Update noxfile.py formatting to be black-compliant
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent 4ce090c commit fe073fd

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

noxfile.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)