Skip to content

Commit

Permalink
Add prospector/pylint config for the sake of Landscape.
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed May 20, 2016
1 parent 5dce4f2 commit a2b8c11
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .prospector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
strictness: veryhigh
doc-warnings: false
test-warnings: false

max-line-length: 139

requirements:
- requirements.txt
- requirements-test.txt
- requirements-optional.txt

ignore-paths:
- parse.py
- utils/

python-targets:
- 2
- 3

mccabe:
run: false
10 changes: 10 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[MASTER]
ignore=tests

[MESSAGES CONTROL]
# messages up to fixme should probably be fixed somehow
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

[FORMAT]
max-line-length=139
single-line-if-stmt=no

0 comments on commit a2b8c11

Please sign in to comment.