Skip to content

Commit db6f736

Browse files
committed
Use imports from the top-level package
The top-level package is frequenz.repo.config so we import from there. It also makes the code more clear. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 9624271 commit db6f736

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

noxfile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
"""Configuration file for nox."""
55

6-
from frequenz.repo import config
6+
from frequenz.repo.config import nox
77

88
# Remove the pytest sessions because we don't have tests yet
9-
conf = config.nox.default.lib_config.copy()
10-
conf.sessions = [s for s in conf.sessions if not s.startswith("pytest")]
9+
config = nox.default.lib_config.copy()
10+
config.sessions = [s for s in config.sessions if not s.startswith("pytest")]
1111

12-
config.nox.configure(conf)
12+
nox.configure(config)

0 commit comments

Comments
 (0)