-
Notifications
You must be signed in to change notification settings - Fork 44
/
prospector.yaml
64 lines (58 loc) · 1.45 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
strictness: high
test-warnings: True
doc-warnings: false
ignore-paths:
- build
- venv
- venv3
- venv2
- site
- docs
- tests/engine/sample_workflows.py
- tools
- .databricks
- .mypy_cache
- brickflow/bundles
- brickflow/sample_dags
- main.py
- main2.py
- .eggs
- htmlcov
- sample_workflows
- integration_workflows
- scripts
- tests/test_brickflow.py
- examples
- brickflow_plugins # will eventually need to remove once there are tests and linting logic is applied
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
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,E203 # conflicts with black formatting
pyflakes:
disable:
- F821 # ignore undefined name errors
mccabe:
disable:
- MC0001