Skip to content

Commit 4d28728

Browse files
committed
fix: fix mypy errors
1 parent 7260dd4 commit 4d28728

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/google-cloud-monitoring/google/cloud/monitoring_v3/_dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
try:
2020
import pandas
2121
except ImportError: # pragma: NO COVER
22-
pandas = None
22+
pandas = None # type: ignore[assignment]
2323

2424
from google.cloud import monitoring_v3
2525

packages/google-cloud-monitoring/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def mypy(session):
101101
"mypy<1.16.0",
102102
"types-requests",
103103
"types-protobuf",
104+
"pandas-stubs",
104105
)
105106
session.install(".")
106107
session.run(

0 commit comments

Comments
 (0)