forked from opendatateam/udata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
63 lines (57 loc) · 1.48 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
[compile_catalog]
domain = udata
directory = udata/translations
statistics = true
[extract_messages]
keywords = _ N_:1,2 P_:1c,2 L_ gettext ngettext:1,2 pgettext:1c,2 npgettext:1c,2,3 lazy_gettext lazy_pgettext:1c,2
mapping_file = babel.cfg
add_comments = TRANSLATORS:
output_file = udata/translations/udata.pot
width = 80
[init_catalog]
domain = udata
input_file = udata/translations/udata.pot
output_dir = udata/translations
[update_catalog]
domain = udata
input_file = udata/translations/udata.pot
output_dir = udata/translations
previous = true
[tool:pytest]
norecursedirs = .git build .tox specs .cache udata/static udata/templates udata/translations
python_files = test_*.py
python_functions = test_*
python_classes = *Test
env =
# See: https://docs.authlib.org/en/latest/flask/oauth2.html
AUTHLIB_INSECURE_TRANSPORT=true
mock_use_standalone_module = true
# See: https://docs.pytest.org/en/latest/warnings.html#deprecationwarning-and-pendingdeprecationwarning
filterwarnings =
ignore::DeprecationWarning:mongoengine
# See: https://docs.pytest.org/en/latest/example/markers.html#registering-markers
markers =
frontend: load the frontend stack
preview: mock a preview backend
oauth: inject an OAuth client
[flake8]
max-line-length = 100
exclude =
.cache,
.git,
__pycache__,
build,
data,
dist,
docs,
instance,
js,
less,
node_modules,
reports,
requirements,
specs,
udata/static,
udata/templates
[wheel]
universal = 1