2018-10-02 14:39:51 +00:00
|
|
|
[build-system]
|
|
|
|
requires = [
|
|
|
|
"setuptools",
|
|
|
|
"wheel",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
skip-string-normalization = true
|
2021-01-17 15:48:35 +00:00
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
2023-02-27 17:33:58 +00:00
|
|
|
|
|
|
|
[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",
|
2023-02-28 12:25:17 +00:00
|
|
|
"ignore::DeprecationWarning:twisted.internet.gireactor",
|
2023-02-27 17:33:58 +00:00
|
|
|
"ignore:twisted.web.resource.*:DeprecationWarning",
|
2023-02-28 12:25:17 +00:00
|
|
|
"ignore:Using readBody.*:DeprecationWarning",
|
|
|
|
"ignore:resume_data is deprecated.*:DeprecationWarning:deluge.core.alertmanager",
|
2023-02-27 17:33:58 +00:00
|
|
|
]
|