Skip to content

Commit deeef81

Browse files
committed
build: treat warnings as errors
1 parent 95a4346 commit deeef81

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pytest.ini

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[pytest]
2+
filterwarnings =
3+
# treat all warnings as errors
4+
error
5+
# Remove once https://github.com/protocolbuffers/protobuf/issues/12186 is fixed
6+
ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning
7+
# Remove once https://github.com/dateutil/dateutil/issues/1314 is fixed
8+
# dateutil is a dependency of pandas
9+
ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:dateutil.tz.tz
10+
# Remove once https://github.com/googleapis/python-db-dtypes-pandas/issues/227 is fixed
11+
ignore:.*any.*with datetime64 dtypes is deprecated and will raise in a future version:FutureWarning
12+
ignore:.*all.*with datetime64 dtypes is deprecated and will raise in a future version:FutureWarning

0 commit comments

Comments
 (0)