-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.coafile
29 lines (24 loc) · 1013 Bytes
/
.coafile
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
[all]
non_interactive = True
flush_cache = True
max_line_length = 120
[all.git]
bears = GitCommitBear
[all.python]
bears = PinRequirementsBear,PycodestyleBear,PyDocStyleBear,PyFlakesBear,PyLintBear
files = api/apps**/[!_]*.py
ignore = **/test_*.py
# YAPF specific.
based_on_style = pep8
# PyLint specific.
pylint_cli_options = --jobs=8
pylint_rcfile = .pylintrc
# Explain why a check is disabled.
# broad-except : it does not always make the code clearer to be ultra specific.
# invalid-name : too complicated to configure sanely.
# logging-format-interpolation : does not make any sense.
# no-self-use : wrong detection (i.e. pytest class tests).
# import-error : reports too many false positives.
# W0613 (Unused argument) : does not work well for Django
# W0622 (Redefining built-in) : does not work well for Django
pylint_disable = broad-except,invalid-name,logging-format-interpolation,no-self-use,import-error, W0613, W0622