forked from PolicyEngine/policyengine-us
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
37 lines (33 loc) · 1.75 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
; D101: Variables already provide label/description
; D107: We do not document __init__ method
; D401: We do not require the imperative mood
; E128/133: We prefer hang-closing visual indents
; E251: We prefer `function(x = 1)` over `function(x=1)`
; E501: We do not enforce a maximum line length
; W503/4: We break lines before binary operators (Knuth's style)
[flake8]
hang-closing = true
ignore = D101,D107,D401,E128,E251,E501,W503
in-place = true
inline-quotes = "
multiline-quotes = """
import-order-style = appnexus
no-accept-encodings = true
application-import-names = openfisca_country_template
application-package-names = openfisca_country_template,openfisca_extension_template
; C0103: We (still) snake case variables and reforms
; C0115: Variables already provide label/description
; C0301: We do not enforce a maximum line length
; E0213: This requires changes in OpenFisca-Core
; E1101: False positive, as entities have members
; E1102: False positive, as entities are callable
; W0621: We name variable values the variable name
; W1203: We prefer to log with f-strings
[pylint.message_control]
disable = C0103,C0115,C0301,E0213,E1101,E1102,W0621,W1203
score = no
[tool:pytest]
addopts = --showlocals --exitfirst --doctest-modules
testpaths = openfisca_country_template/tests
python_files = **/*.py
filterwarnings = ignore::DeprecationWarning