-
Notifications
You must be signed in to change notification settings - Fork 121
/
prospector.yaml
43 lines (38 loc) · 1.07 KB
/
prospector.yaml
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
strictness: high
test-warnings: True
doc-warnings: false
ignore-paths:
- build
- tests
- src/dbx/templates
max-line-length: 120
pylint:
disable:
- too-many-ancestors # in dbx we pretty comfortable having a lot of mixins
- too-many-branches
- too-many-statements
- too-many-instance-attributes
- cyclic-import
- len-as-condition
- invalid-name
- no-else-return
- no-self-use
- protected-access
- too-many-arguments
- too-many-locals # TBD: this rule is actually a good one, we need to enable it and refactor code
- inconsistent-return-statements
- import-outside-toplevel
- consider-using-set-comprehension
- useless-object-inheritance
- unnecessary-pass
- raise-missing-from # pretty strange requirement with acquaint logic
- broad-except
- arguments-differ
- broad-exception-raised
pycodestyle:
# W293: disabled because we have newlines in docstrings
# E203: disabled because pep8 and black disagree on whitespace before colon in some cases
disable: W293,E203
mccabe:
disable:
- MC0001