diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 21:38:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 21:38:38 +0000 |
commit | 2e2851dc13d73352530dd4495c7e05603b2e520d (patch) | |
tree | 622b9cd8e5d32091c9aa9e4937b533975a40356c /pyproject.toml | |
parent | Initial commit. (diff) | |
download | deluge-2e2851dc13d73352530dd4495c7e05603b2e520d.tar.xz deluge-2e2851dc13d73352530dd4495c7e05603b2e520d.zip |
Adding upstream version 2.1.2~dev0+20240219.upstream/2.1.2_dev0+20240219upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | pyproject.toml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..169561f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,29 @@ +[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", +] |