-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
37 lines (32 loc) · 776 Bytes
/
setup.cfg
File metadata and controls
37 lines (32 loc) · 776 Bytes
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
[mypy]
python_version = 3.10
files=./*.py
ignore_missing_imports=true
check_untyped_defs=true
allow_incomplete_defs=false
warn_unused_configs=true
no_implicit_optional=true
warn_redundant_casts=true
warn_unused_ignores=true
warn_return_any=true
[flake8]
max-line-length = 120
exclude=__init__.py
[coverage:run]
source=src
omit =
src/migrations/*
tests/conftest.py
# No need to test Celery worker entrypoint
src/worker.py
[coverage:report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError
pragma: no cover
# Coverage is not expected on pytest.fail() calls in tests
.*pytest.fail.*
fail_under=80
skip_covered=true
show_missing=true