-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
51 lines (41 loc) · 975 Bytes
/
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
#
# babel
#
[extract_messages]
mapping_file = etc/babel.cfg
# _n => ngettext, _l => lazy_gettext
keywords = _n:1,2 _l
output-file = abilian/crm/translations/messages.pot
input-dirs = abilian/crm
[update_catalog]
input-file = abilian/crm/translations/messages.pot
output-dir = abilian/crm/translations
[compile_catalog]
directory = abilian/crm/translations
[init_catalog]
input-file = abilian/crm/translations/messages.pot
output-dir = abilian/crm/translations
#
# Testing & Static analysis
#
[tool:pytest]
testpaths = src tests
python_files = test_*.py tests.py
norecursedirs = .* env* _build *.egg docs
filterwarnings =
; error
ignore::DeprecationWarning
[flake8]
ignore = F401,W503,C408
max-line-length = 90
[mypy]
ignore_missing_imports = True
warn_redundant_casts = True
warn_no_return = True
warn_unused_ignores = True
# TODO: reenable when ready
# disallow_untyped_defs = True
# strict_optional = True
[isort]
known_first_party=abilian
profile=black