Skip to content

Commit

Permalink
Intermediate work on landscape/prospector config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Mar 10, 2016
1 parent 1c41809 commit b2c4bbf
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .landscape.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
doc-warnings: yes
doc-warnings: no # experimental, raises an exception
test-warnings: no
strictness: veryhigh
max-line-length: 160
Expand All @@ -11,6 +11,21 @@ python-targets:
- 3
ignore-paths:
- examples/webchat
- doc/
- build
- dist
- .eggs
# util creates lots of warnings. ideally they should be fixed,
# but that code doesn't change often
- util
# likewise with scripts
- scripts/
ignore-patterns:
# disabled code
- greentest/xtest_.*py
# standard library code
- ^greentest/2.*
- ^greentest/3.*

pyroma:
run: true
23 changes: 23 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[MESSAGES CONTROL]

# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once).
#disable=I0011,W0511,W0312,C0103,C0301,C0111,C0324,C0321,R0903,R0201,W0613,W0232,W0142,R0922,C0330
disable=wrong-import-position,
wrong-import-order,
missing-docstring,
ungrouped-imports,
invalid-name, # We get lots of these, especially in scripts. should fix many of them
protected-access, # We have many cases of this; legit ones need to be examinid and commented, then this removed

[FORMAT]
# duplicated from setup.cfg
max-line-length=160

[MISCELLANEOUS]
# List of note tags to take in consideration, separated by a comma.
#notes=FIXME,XXX,TODO
# Disable that, we don't want them in the report (???)
notes=
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[pep8]
ignore=E702,E265,E402,E731,E266,E261,W503,E129
# N801: class names should use CapWords
ignore=E702,E265,E402,E731,E266,E261,W503,E129,N801
max_line_length=160
exclude=.runtimes,.eggs,.tox,.git,build,2.6,2.7,2.7pypy,3.3,3.5,test_support.py,test_queue.py,patched_tests_setup.py,test_threading_2.py,lock_tests.py,_sslgte279.py,3.4

0 comments on commit b2c4bbf

Please sign in to comment.