forked from databrickslabs/dbx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prospector.yaml
44 lines (38 loc) · 1.02 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
44
strictness: high
test-warnings: True
doc-warnings: false
ignore-paths:
- build
- tests
- dbx/templates
max-line-length: 120
pylint:
disable:
- 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
pep8:
# 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
pycodestyle:
disable: E203 # conflicts with black formatting
mccabe:
disable:
- MC0001