Skip to content

Commit 76adfe1

Browse files
committed
debug the debugging
1 parent b045c68 commit 76adfe1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

noxfile-template.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ def _determine_local_import_names(start_dir: str) -> list[str]:
148148

149149
@nox.session
150150
def lint(session: nox.sessions.Session) -> None:
151+
152+
print("✨ Original noxfile")
151153
if not TEST_CONFIG["enforce_type_hints"]:
152154
session.install("flake8", "flake8-import-order")
153155
else:

secretmanager/snippets/noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,13 @@ def _determine_local_import_names(start_dir: str) -> list[str]:
148148

149149
@nox.session
150150
def lint(session: nox.sessions.Session) -> None:
151+
152+
print("✨ Custom noxfile interception")
151153
if not TEST_CONFIG["enforce_type_hints"]:
152154
session.install("flake8", "flake8-import-order")
153155
else:
154156
session.install("flake8", "flake8-import-order", "flake8-annotations")
155157

156-
print("✨ Custom noxfile interception")
157158
local_names = _determine_local_import_names(".")
158159
args = FLAKE8_COMMON_ARGS + [
159160
"--application-import-names",

0 commit comments

Comments
 (0)