~ubuntu-branches/ubuntu/vivid/pylint/vivid-proposed

« back to all changes in this revision

Viewing changes to examples/pylintrc

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2009-12-19 21:38:49 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20091219213849-kcax3214c3mmucox
Tags: 0.19.0-1
* New upstream release
* debian/pylint.docs
  - removed 'TODO', no more shipped
* debian/copyright
  - updated copyright information, also adding new files with different info
* debian/{rules, TODO}
  - run tests at build-time
* debian/pylint.postrm
  - use 'set -e' instead of calling shell with '-e'

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
# written in a file name "pylint_global.[txt|html]".
71
71
files-output=no
72
72
 
73
 
# Tells wether to display a full report or only the messages
 
73
# Tells whether to display a full report or only the messages
74
74
reports=yes
75
75
 
76
76
# Python expression which should return a note less than 10 (10 is the highest
77
77
# note). You have access to the variables errors warning, statement which
78
 
# respectivly contain the number of errors / warnings messages and the total
 
78
# respectively contain the number of errors / warnings messages and the total
79
79
# number of statements analyzed. This is used by the global evaluation report
80
80
# (R0004).
81
81
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
95
95
96
96
[TYPECHECK]
97
97
 
98
 
# Tells wether missing members accessed in mixin class should be ignored. A
 
98
# Tells whether missing members accessed in mixin class should be ignored. A
99
99
# mixin class is detected if its name ends with "mixin" (case insensitive).
100
100
ignore-mixin-members=yes
101
101
 
102
102
# List of classes names for which member attributes should not be checked
103
 
# (useful for classes with attributes dynamicaly set).
 
103
# (useful for classes with attributes dynamically set).
104
104
ignored-classes=SQLObject
105
105
 
106
106
# When zope mode is activated, add a predefined set of Zope acquired attributes
116
116
# * unused variables / imports
117
117
# * undefined variables
118
118
# * redefinition of variable from builtins or from an outer scope
119
 
# * use of variable before assigment
 
119
# * use of variable before assignment
120
120
121
121
[VARIABLES]
122
122
 
123
 
# Tells wether we should check for unused import in __init__ files.
 
123
# Tells whether we should check for unused import in __init__ files.
124
124
init-import=no
125
125
 
126
126
# A regular expression matching names used for dummy variables (i.e. not used).
134
134
# checks for :
135
135
# * doc strings
136
136
# * modules / classes / functions / methods / arguments / variables name
137
 
# * number of arguments, local variables, branchs, returns and statements in
 
137
# * number of arguments, local variables, branches, returns and statements in
138
138
# functions, methods
139
139
# * required module attributes
140
140
# * dangerous default values as arguments
225
225
# checks for :
226
226
# * methods without self as first argument
227
227
# * overridden methods signature
228
 
# * access only to existant members via self
 
228
# * access only to existent members via self
229
229
# * attributes not defined in the __init__ method
230
230
# * supported interfaces implementation
231
231
# * unreachable code