Skip to content

Commit a2b8c11

Browse files
committed
Add prospector/pylint config for the sake of Landscape.
1 parent 5dce4f2 commit a2b8c11

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

Diff for: .prospector.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
strictness: veryhigh
2+
doc-warnings: false
3+
test-warnings: false
4+
5+
max-line-length: 139
6+
7+
requirements:
8+
- requirements.txt
9+
- requirements-test.txt
10+
- requirements-optional.txt
11+
12+
ignore-paths:
13+
- parse.py
14+
- utils/
15+
16+
python-targets:
17+
- 2
18+
- 3
19+
20+
mccabe:
21+
run: false

Diff for: .pylintrc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[MASTER]
2+
ignore=tests
3+
4+
[MESSAGES CONTROL]
5+
# messages up to fixme should probably be fixed somehow
6+
disable = redefined-builtin,attribute-defined-outside-init,anomalous-backslash-in-string,no-self-use,redefined-outer-name,bad-continuation,wrong-import-order,superfluous-parens,no-member,duplicate-code,super-init-not-called,abstract-method,property-on-old-class,wrong-import-position,no-name-in-module,no-init,bad-mcs-classmethod-argument,bad-classmethod-argument,fixme,invalid-name,import-error,too-few-public-methods,too-many-ancestors,too-many-arguments,too-many-boolean-expressions,too-many-branches,too-many-instance-attributes,too-many-locals,too-many-lines,too-many-public-methods,too-many-return-statements,too-many-statements,missing-docstring,line-too-long,locally-disabled,locally-enabled,bad-builtin,deprecated-lambda
7+
8+
[FORMAT]
9+
max-line-length=139
10+
single-line-if-stmt=no

0 commit comments

Comments
 (0)