mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-11 10:56:39 +00:00
Move pytest config from tox to pyproject and ignore deprecation warning generated in 3rd-party libraries. Fixed GObject deprecation warning
29 lines
695 B
TOML
29 lines
695 B
TOML
[build-system]
|
|
requires = [
|
|
"setuptools",
|
|
"wheel",
|
|
]
|
|
|
|
[tool.black]
|
|
skip-string-normalization = true
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.pytest.ini_options]
|
|
# Hide logged warnings and errors in test output.
|
|
log_cli_level = "CRITICAL"
|
|
addopts = "--basetemp=_pytest_temp"
|
|
markers = [
|
|
"todo: Tests that are yet to be written",
|
|
"gtkui: Tests for GTK code",
|
|
"security: Security related tests",
|
|
"slow: Tests that are particularly slow",
|
|
"internet: Tests that require internet connectivity",
|
|
]
|
|
filterwarnings = [
|
|
"ignore::DeprecationWarning:gi",
|
|
"ignore::DeprecationWarning:twisted.internet.gireactor:43",
|
|
"ignore:twisted.web.resource.*:DeprecationWarning",
|
|
]
|