forked from celery/celery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (51 loc) · 1.34 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[tool.pytest.ini_options]
addopts = "--strict-markers"
testpaths = "t/unit/"
python_classes = "test_*"
xfail_strict=true
markers = ["sleepdeprived_patched_module", "masked_modules", "patched_environ", "patched_module", "flaky", "timeout"]
[tool.mypy]
warn_unused_configs = true
strict = false
follow_imports = "skip"
show_error_codes = true
disallow_untyped_defs = true
ignore_missing_imports = true
files = [
"celery/__main__.py",
"celery/states.py",
"celery/signals.py",
"celery/fixups",
"celery/concurrency/thread.py",
"celery/security/certificate.py",
"celery/utils/text.py",
"celery/schedules.py",
"celery/apps/beat.py",
]
[tool.codespell]
ignore-words-list = "assertin"
skip = "./.*,docs/AUTHORS.txt,docs/history/*,docs/spelling_wordlist.txt,Changelog.rst,CONTRIBUTORS.txt,*.key"
[tool.coverage.run]
branch = true
cover_pylib = false
include = ["*celery/*"]
omit = ["celery.tests.*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"except ImportError:"
]
omit = [
"*/python?.?/*",
"*/site-packages/*",
"*/pypy/*",
"*/celery/bin/graph.py",
"*celery/bin/logtool.py",
"*celery/task/base.py",
"*celery/contrib/sphinx.py",
"*celery/concurrency/asynpool.py",
"*celery/utils/debug.py",
"*celery/contrib/testing/*",
"*celery/contrib/pytest.py"
]