Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 7141b0a

Browse files
authored
chore: update generated noxfile.py to cater for grafeas
1 parent 964ceaf commit 7141b0a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

gapic/templates/noxfile.py.j2

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ import nox
1515
BLACK_VERSION = "black[jupyter]==23.7.0"
1616
ISORT_VERSION = "isort==5.11.0"
1717

18-
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
18+
{% if api.naming.module_namespace %}
19+
LINT_PATHS = ["docs", "{{ api.naming.module_namespace[0] }}", "tests", "noxfile.py", "setup.py"]
20+
{% else %}
21+
LINT_PATHS = ["docs", "{{ api.naming.versioned_module_name }}", "tests", "noxfile.py", "setup.py"]
22+
{% endif %}
23+
1924

2025
ALL_PYTHON = [
2126
"3.7",

0 commit comments

Comments
 (0)