File tree Expand file tree Collapse file tree
google-cloud-appengine-logging
google-cloud-bigquery-logging
google-cloud-source-context Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [mypy]
2+ python_version = 3.14
3+ namespace_packages = True
4+ ignore_missing_imports = False
5+
6+ # TODO(https://github.com/googleapis/gapic-generator-python/issues/2563):
7+ # Dependencies that historically lacks py.typed markers
8+ [mypy-google.iam.*]
9+ ignore_missing_imports = True
10+
11+ # Helps mypy navigate the 'google' namespace more reliably in 3.10+
12+ explicit_package_bases = True
13+
14+ # Performance: reuse results from previous runs to speed up 'nox'
15+ incremental = True
Original file line number Diff line number Diff line change 4646PREVIEW_PYTHON_VERSION = "3.14"
4747
4848CURRENT_DIRECTORY = pathlib .Path (__file__ ).parent .absolute ()
49- # Path to the centralized mypy configuration file at the repository root.
50- MYPY_CONFIG_FILE = str (CURRENT_DIRECTORY .parent .parent / "mypy.ini" )
51-
5249
5350if (CURRENT_DIRECTORY / "testing" ).exists ():
5451 LOWER_BOUND_CONSTRAINTS_FILE = (
@@ -110,7 +107,6 @@ def mypy(session):
110107 session .install ("." )
111108 session .run (
112109 "mypy" ,
113- f"--config-file={ MYPY_CONFIG_FILE } " ,
114110 "-p" ,
115111 "google" ,
116112 "--check-untyped-defs" ,
Original file line number Diff line number Diff line change 1+ [mypy]
2+ python_version = 3.14
3+ namespace_packages = True
4+ ignore_missing_imports = False
5+
6+ # TODO(https://github.com/googleapis/gapic-generator-python/issues/2563):
7+ # Dependencies that historically lacks py.typed markers
8+ [mypy-google.iam.*]
9+ ignore_missing_imports = True
10+
11+ # Helps mypy navigate the 'google' namespace more reliably in 3.10+
12+ explicit_package_bases = True
13+
14+ # Performance: reuse results from previous runs to speed up 'nox'
15+ incremental = True
Original file line number Diff line number Diff line change 4646PREVIEW_PYTHON_VERSION = "3.14"
4747
4848CURRENT_DIRECTORY = pathlib .Path (__file__ ).parent .absolute ()
49- # Path to the centralized mypy configuration file at the repository root.
50- # Search upwards to support running nox from both monorepo packages and integration test goldens.
51- MYPY_CONFIG_FILE = next (
52- (
53- str (p / "mypy.ini" )
54- for p in CURRENT_DIRECTORY .parents
55- if (p / "mypy.ini" ).exists ()
56- ),
57- str (CURRENT_DIRECTORY .parent .parent / "mypy.ini" ),
58- )
59-
6049
6150if (CURRENT_DIRECTORY / "testing" ).exists ():
6251 LOWER_BOUND_CONSTRAINTS_FILE = (
@@ -118,7 +107,6 @@ def mypy(session):
118107 session .install ("." )
119108 session .run (
120109 "mypy" ,
121- f"--config-file={ MYPY_CONFIG_FILE } " ,
122110 "-p" ,
123111 "google" ,
124112 "--check-untyped-defs" ,
Original file line number Diff line number Diff line change 1+ [mypy]
2+ python_version = 3.14
3+ namespace_packages = True
4+ ignore_missing_imports = False
5+
6+ # TODO(https://github.com/googleapis/gapic-generator-python/issues/2563):
7+ # Dependencies that historically lacks py.typed markers
8+ [mypy-google.iam.*]
9+ ignore_missing_imports = True
10+
11+ # Helps mypy navigate the 'google' namespace more reliably in 3.10+
12+ explicit_package_bases = True
13+
14+ # Performance: reuse results from previous runs to speed up 'nox'
15+ incremental = True
Original file line number Diff line number Diff line change 4646PREVIEW_PYTHON_VERSION = "3.14"
4747
4848CURRENT_DIRECTORY = pathlib .Path (__file__ ).parent .absolute ()
49- # Path to the centralized mypy configuration file at the repository root.
50- # Search upwards to support running nox from both monorepo packages and integration test goldens.
51- MYPY_CONFIG_FILE = next (
52- (
53- str (p / "mypy.ini" )
54- for p in CURRENT_DIRECTORY .parents
55- if (p / "mypy.ini" ).exists ()
56- ),
57- str (CURRENT_DIRECTORY .parent .parent / "mypy.ini" ),
58- )
59-
6049
6150if (CURRENT_DIRECTORY / "testing" ).exists ():
6251 LOWER_BOUND_CONSTRAINTS_FILE = (
@@ -118,7 +107,6 @@ def mypy(session):
118107 session .install ("." )
119108 session .run (
120109 "mypy" ,
121- f"--config-file={ MYPY_CONFIG_FILE } " ,
122110 "-p" ,
123111 "google" ,
124112 "--check-untyped-defs" ,
Original file line number Diff line number Diff line change 1+ [mypy]
2+ python_version = 3.14
3+ namespace_packages = True
4+ ignore_missing_imports = False
5+
6+ # TODO(https://github.com/googleapis/gapic-generator-python/issues/2563):
7+ # Dependencies that historically lacks py.typed markers
8+ [mypy-google.iam.*]
9+ ignore_missing_imports = True
10+
11+ # Helps mypy navigate the 'google' namespace more reliably in 3.10+
12+ explicit_package_bases = True
13+
14+ # Performance: reuse results from previous runs to speed up 'nox'
15+ incremental = True
Original file line number Diff line number Diff line change 4646PREVIEW_PYTHON_VERSION = "3.14"
4747
4848CURRENT_DIRECTORY = pathlib .Path (__file__ ).parent .absolute ()
49- # Path to the centralized mypy configuration file at the repository root.
50- # Search upwards to support running nox from both monorepo packages and integration test goldens.
51- MYPY_CONFIG_FILE = next (
52- (
53- str (p / "mypy.ini" )
54- for p in CURRENT_DIRECTORY .parents
55- if (p / "mypy.ini" ).exists ()
56- ),
57- str (CURRENT_DIRECTORY .parent .parent / "mypy.ini" ),
58- )
59-
6049
6150if (CURRENT_DIRECTORY / "testing" ).exists ():
6251 LOWER_BOUND_CONSTRAINTS_FILE = (
@@ -118,7 +107,6 @@ def mypy(session):
118107 session .install ("." )
119108 session .run (
120109 "mypy" ,
121- f"--config-file={ MYPY_CONFIG_FILE } " ,
122110 "-p" ,
123111 "google" ,
124112 "--check-untyped-defs" ,
Original file line number Diff line number Diff line change 1+ [mypy]
2+ python_version = 3.14
3+ namespace_packages = True
4+ ignore_missing_imports = False
5+
6+ # TODO(https://github.com/googleapis/gapic-generator-python/issues/2563):
7+ # Dependencies that historically lacks py.typed markers
8+ [mypy-google.iam.*]
9+ ignore_missing_imports = True
10+
11+ # Helps mypy navigate the 'google' namespace more reliably in 3.10+
12+ explicit_package_bases = True
13+
14+ # Performance: reuse results from previous runs to speed up 'nox'
15+ incremental = True
Original file line number Diff line number Diff line change 4646PREVIEW_PYTHON_VERSION = "3.14"
4747
4848CURRENT_DIRECTORY = pathlib .Path (__file__ ).parent .absolute ()
49- # Path to the centralized mypy configuration file at the repository root.
50- # Search upwards to support running nox from both monorepo packages and integration test goldens.
51- MYPY_CONFIG_FILE = next (
52- (
53- str (p / "mypy.ini" )
54- for p in CURRENT_DIRECTORY .parents
55- if (p / "mypy.ini" ).exists ()
56- ),
57- str (CURRENT_DIRECTORY .parent .parent / "mypy.ini" ),
58- )
59-
6049
6150if (CURRENT_DIRECTORY / "testing" ).exists ():
6251 LOWER_BOUND_CONSTRAINTS_FILE = (
@@ -118,7 +107,6 @@ def mypy(session):
118107 session .install ("." )
119108 session .run (
120109 "mypy" ,
121- f"--config-file={ MYPY_CONFIG_FILE } " ,
122110 "-p" ,
123111 "google" ,
124112 "--check-untyped-defs" ,
You can’t perform that action at this time.
0 commit comments