Skip to content

Commit b2f2128

Browse files
authored
CLN: pyproject.toml (#57201)
* CLN: Remove old coverage branches and ignored warnings * CLN: Remove old coverage branches and ignored warnings * Undo comment out * Test removing warnings * Add back some ignores
1 parent e5e9603 commit b2f2128

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

pyproject.toml

-10
Original file line numberDiff line numberDiff line change
@@ -476,20 +476,10 @@ filterwarnings = [
476476
"ignore::ResourceWarning:asyncio",
477477
# From plotting doctests
478478
"ignore:More than 20 figures have been opened:RuntimeWarning",
479-
# Will be fixed in numba 0.56: https://github.com/numba/numba/issues/7758
480-
"ignore:`np.MachAr` is deprecated:DeprecationWarning:numba",
481479
"ignore:.*urllib3:DeprecationWarning:botocore",
482480
"ignore:Setuptools is replacing distutils.:UserWarning:_distutils_hack",
483481
# https://github.com/PyTables/PyTables/issues/822
484482
"ignore:a closed node found in the registry:UserWarning:tables",
485-
"ignore:`np.object` is a deprecated:DeprecationWarning:tables",
486-
"ignore:tostring:DeprecationWarning:tables",
487-
"ignore:distutils Version classes are deprecated:DeprecationWarning:pandas_datareader",
488-
"ignore:distutils Version classes are deprecated:DeprecationWarning:numexpr",
489-
"ignore:distutils Version classes are deprecated:DeprecationWarning:fastparquet",
490-
"ignore:distutils Version classes are deprecated:DeprecationWarning:fsspec",
491-
# Can be removed once https://github.com/numpy/numpy/pull/24794 is merged
492-
"ignore:.*In the future `np.long` will be defined as.*:FutureWarning",
493483
]
494484
junit_family = "xunit2"
495485
markers = [

scripts/tests/data/deps_minimum.toml

-3
Original file line numberDiff line numberDiff line change
@@ -494,14 +494,11 @@ exclude_lines = [
494494
"pragma: no cover",
495495
# Don't complain about missing debug-only code:s
496496
"def __repr__",
497-
"if self.debug",
498497
# Don't complain if tests don't hit defensive assertion code:
499498
"raise AssertionError",
500499
"raise NotImplementedError",
501500
"AbstractMethodError",
502501
# Don't complain if non-runnable code isn't run:
503-
"if 0:",
504-
"if __name__ == .__main__.:",
505502
"if TYPE_CHECKING:",
506503
]
507504

0 commit comments

Comments
 (0)