Skip to content

Commit 373fb9c

Browse files
committed
Add prospector/pylint config for the sake of Landscape.
1 parent 6f01c9a commit 373fb9c

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.prospector.yaml

Lines changed: 21 additions & 0 deletions
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

.pylintrc

Lines changed: 10 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy