forked from superdesk/newsroom-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
32 lines (26 loc) · 657 Bytes
/
Copy pathsetup.cfg
File metadata and controls
32 lines (26 loc) · 657 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
[flake8]
max-line-length = 120
exclude= env, venv, node_modules, build
ignore = E203, E266, E501, W503
[mypy]
python_version = 3.10
allow_untyped_globals = True
ignore_missing_imports = True
exclude = (env|e2e|node_modules|scripts|docker|dist|assets)
[tool:pytest]
testpaths=tests
confcutdir=tests
addopts=--tb=short
[extract_messages]
input_dirs = newsroom,assets
output_file = messages.pot
mapping_file = mapping.cfg
keywords = _ lazy_gettext ngettext
[init_catalog]
input_file = messages.pot
output_dir = newsroom/translations
[update_catalog]
output_dir = newsroom/translations
[compile_catalog]
directory = newsroom/translations
use_fuzzy = true