update warning ignores

This commit is contained in:
Gabriel Augendre 2024-08-05 20:35:52 +02:00 committed by crocmagnon-pr[bot]
parent 22fa2b8d6c
commit 3cb5d8c8c7
2 changed files with 2 additions and 4 deletions

View file

@ -49,6 +49,7 @@ lint.unfixable = [
"T20",
]
lint.mccabe.max-complexity = 10
# TODO remove "hash" ignore after issue is fixed: https://github.com/python-trio/trio/issues/3053
lint.pydocstyle.convention = "pep257"
[tool.pytest.ini_options]
@ -57,8 +58,7 @@ addopts = """
--no-cov-on-fail --strict-markers --reuse-db
--driver=Firefox
-W error
-W "ignore:capabilities and desired_capabilities have been deprecated:DeprecationWarning:pytest_selenium.pytest_selenium"
-W "ignore:service_log_path has been deprecated:DeprecationWarning:pytest_selenium.pytest_selenium"
-W "ignore:The `hash` argument is deprecated in favor of `unsafe_hash` and will be removed in or after August 2025:DeprecationWarning"
"""
markers = [
]

View file

@ -4,8 +4,6 @@ pytest>=6.0
pytest-cov>=3.0.0
pytest-django>=4.1.0
pytest-selenium>=4.0.0
# pytest-selenium 4.0.1 has an implicit dependency on `py`
# py>=1.11.0
pre-commit>=2.1
model-bakery>=1.3.1
bpython>=0.22.1