~harlowja/cloud-init/tox-venvs

« back to all changes in this revision

Viewing changes to pylintrc

  • Committer: Joshua Harlow
  • Date: 2014-01-26 01:00:38 UTC
  • Revision ID: harlowja@gmail.com-20140126010038-smsyr4lztcjrpk81
Use a venv for testing and for lint checking

Remove the pep8 & pylint tools and use a venv
with tox instead. Also create a venv that will
run for the given python version to perform the
cloud-init tests.

These help remove the need to install the same
dependencies in the root python environment env
to just run the standard set of tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[General]
2
 
init-hook='import sys; sys.path.append("tests/")'
3
 
 
4
 
[MESSAGES CONTROL]
5
 
# See: http://pylint-messages.wikidot.com/all-codes
6
 
# W0142: *args and **kwargs are fine.
7
 
# W0511: TODOs in code comments are fine.
8
 
# W0702: No exception type(s) specified
9
 
# W0703: Catch "Exception"
10
 
# C0103: Invalid name
11
 
# C0111: Missing docstring
12
 
disable=W0142,W0511,W0702,W0703,C0103,C0111
13
 
 
14
 
[REPORTS]
15
 
reports=no
16
 
include-ids=yes
17
 
 
18
 
[FORMAT]
19
 
max-line-length=79