Skip to content

Commit 8973f76

Browse files
authored
add prospector (#13)
1 parent 328e51e commit 8973f76

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

linter.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
_bsd_="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4+
5+
exec prospector --profile ${_bsd_}/prospector.yaml ${_bsd_}/python

prospector.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
strictness: high
2+
test-warnings: True
3+
doc-warnings: false
4+
5+
ignore-paths:
6+
- docs
7+
- spark-warehouse
8+
- cover
9+
10+
max-line-length: 100
11+
12+
pep8:
13+
run: true
14+
disable:
15+
- N802
16+
- N803
17+
- N806
18+
- E302
19+
20+
pylint:
21+
run: true
22+
disable:
23+
- too-many-instance-attributes
24+
- cyclic-import
25+
- len-as-condition
26+
- invalid-name
27+
- no-else-return
28+
- no-self-use
29+
- import-error
30+
- protected-access
31+
- reimported
32+
33+
mccabe:
34+
disable:
35+
- MC0001
36+
37+
pyroma:
38+
run: true
39+

0 commit comments

Comments
 (0)