Skip to content

Commit

Permalink
suppress some warnings in pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Wiggins authored and Roy Wiggins committed Nov 25, 2024
1 parent 0705236 commit 7717816
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ check_untyped_defs = True
pretty = True
namespace_packages = False
plugins = pydantic.mypy
exclude = (env)

[pydantic-mypy]
init_forbid_extra = True
Expand Down
5 changes: 4 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[pytest]
asyncio_default_fixture_loop_scope = function
asyncio_default_fixture_loop_scope = function
filterwarnings =
ignore:The `.*_connection` function is deprecated.:DeprecationWarning:rq.connections
ignore:CLIENT SETNAME command not supported, setting ip_address to unknown:Warning:rq.worker

0 comments on commit 7717816

Please sign in to comment.