-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.cfg
65 lines (62 loc) · 2 KB
/
setup.cfg
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
56
57
58
59
60
61
62
63
64
65
[flake8]
ignore=E203,E261,E501,E704,E731,F405,W293,W291,W503
max-line-length=88
exclude=
migrations
static
media
node_modules
src/openforms/conf/local_example.py
# Might be created by developers:
src/openforms/conf/local.py
[isort]
profile = black
combine_as_imports = true
skip =
env
node_modules
skip_glob = **/migrations/**
known_django=django
known_first_party=openforms
sections=FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[coverage:run]
parallel = True
branch = True
source = src
omit =
# files processed at entrypoint time
src/manage.py
src/openforms/wsgi.py
src/openforms/conf/local_example.py
# migrations run while django initializes the test db
*/migrations/*
# python-like but not really
*.py-tpl
# generic test patterns
*/tests/*
# untested management commands
src/openforms/submissions/management/commands/test_submission_completion.py
src/openforms/submissions/management/commands/render_confirmation_pdf.py
src/openforms/formio/management/commands/formio_makemessages.py
src/openforms/appointments/management/commands/appointment.py
src/openforms/registrations/management/commands/register_submission.py
src/openforms/registrations/contrib/microsoft_graph/management/commands/msgraph_list_files.py
src/openforms/prefill/management/commands/generate_prefill_from_spec.py
src/openforms/utils/management/commands/check_admin_index.py
src/openforms/registrations/contrib/stuf_zds/management/commands/stuf_zds_test_stp.py
src/openforms/plugins/management/commands/disable_demo_plugins.py
src/openforms/payments/management/commands/checkpaymentemaildupes.py
# debug/dev-only code
src/openforms/registrations/contrib/email/views.py
[coverage:report]
skip_covered = True
exclude_also =
if (typing\.)?TYPE_CHECKING:
@(typing\.)?overload
class .*\(.*Protocol.*\):
@(abc\.)?abstractmethod
raise NotImplementedError
raise RuntimeError
\.\.\.
pass$
if settings.DEBUG: