Skip to content

Commit 92f62d2

Browse files
committed
chore: update post processing scripts
1 parent 348c975 commit 92f62d2

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

.librarian/generator-input/client-post-processing/storage-integration.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,19 @@ replacements:
782782
with io.open(json_path, "r", encoding="utf-8-sig") as fileobj:
783783
return json.load(fileobj)
784784
count: 1
785+
- paths: [
786+
packages/google-cloud-storage/noxfile.py
787+
]
788+
before: |
789+
"""Run the type checker."""
790+
[\s\S]*?"google",
791+
\ "--check-untyped-defs",
792+
\ \*session.posargs,
793+
\ \)
794+
after: |
795+
"""Run the type checker."""
785796
786-
787-
797+
# TODO(https://github.com/googleapis/google-cloud-python/issues/13362):
798+
# Enable mypy once this repo has been updated for mypy evaluation.
799+
session.skip("Skip mypy since this library is not yet updated for mypy evaluation")
800+
count: 1

packages/google-cloud-storage/noxfile.py

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -99,21 +99,10 @@
9999
@nox.session(python=ALL_PYTHON)
100100
def mypy(session):
101101
"""Run the type checker."""
102-
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2579):
103-
# use the latest version of mypy
104-
session.install(
105-
"mypy<1.16.0",
106-
"types-requests",
107-
"types-protobuf",
108-
)
109-
session.install(".")
110-
session.run(
111-
"mypy",
112-
"-p",
113-
"google",
114-
"--check-untyped-defs",
115-
*session.posargs,
116-
)
102+
103+
# TODO(https://github.com/googleapis/google-cloud-python/issues/13362):
104+
# Enable mypy once this repo has been updated for mypy evaluation.
105+
session.skip("Skip mypy since this library is not yet updated for mypy evaluation")
117106

118107

119108
@nox.session

0 commit comments

Comments
 (0)