mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-10 19:46:22 +00:00
b2005ecd78
Tests were stalling in deluge_ui_entry with pytest 7.4.3 likely due to changes in the way it handles stderr but it is not clean the extact issue. For now we will pin the pytest version and look to fix the issue later. Reference: https://docs.pytest.org/en/stable/changelog.html#pytest-7-4-3-2023-10-24
30 lines
899 B
TOML
30 lines
899 B
TOML
[build-system]
|
|
requires = ["setuptools", "wheel"]
|
|
|
|
[tool.black]
|
|
skip-string-normalization = true
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.pytest.ini_options]
|
|
# Dump tracebacks if a test takes longer than X seconds
|
|
faulthandler_timeout = 60
|
|
# 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",
|
|
"ignore:twisted.web.resource.*:DeprecationWarning",
|
|
"ignore:Using readBody.*:DeprecationWarning",
|
|
"ignore:resume_data is deprecated.*:DeprecationWarning:deluge.core.alertmanager",
|
|
]
|