Skip to content

Commit

Permalink
Remove some warning ignores that are no longer needed (#567)
Browse files Browse the repository at this point in the history
* Remove some warning ignores that are no longer needed
  • Loading branch information
DominicOram authored Oct 16, 2024
1 parent 74169d6 commit 2957b1e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ addopts = """
# https://iscinumpy.gitlab.io/post/bound-version-constraints/#watch-for-warnings
filterwarnings = [
"error",
# Ignore incorrect errors from bluesky (remove when https://github.com/bluesky/bluesky/issues/1797 is released)
"ignore:((.|\n)*)was never iterated.*:RuntimeWarning",
# Ignore deprecation warning from sqlalchemy
"ignore::sqlalchemy.exc.MovedIn20Warning",
# Ignore deprecation warning from setuptools_dso (remove when https://github.com/epics-base/setuptools_dso/issues/36 is released)
Expand All @@ -135,10 +133,6 @@ filterwarnings = [
"ignore:(.*)unclosed file(.*)name='(.*)dodal.log'(.*):ResourceWarning",
"ignore:(.*)unclosed <socket(.*):ResourceWarning",
"ignore:(.*)unclosed event loop(.*):ResourceWarning",
# Ignore pydantic 2 issues from blueapi, see https://github.com/DiamondLightSource/blueapi/issues/622
"ignore::DeprecationWarning:blueapi",
# Ignore deprecation warning from python-workflows https://github.com/DiamondLightSource/python-workflows/issues/180
"ignore:.*pkg_resources.*:DeprecationWarning",
]
# Doctest python code in docs, python code in src docstrings, test functions in tests
testpaths = "docs src tests/unit_tests"
Expand Down

0 comments on commit 2957b1e

Please sign in to comment.