Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (42 sloc) 1.58 KB
# https://github.com/miohtama/vvv
pylint:
enabled: true
python3k: false
pylint-command: ../../bin/pylint
configuration: |
[BASIC]
# Allow one letter variables
variable-rgx=.*$
# Regular expression which should only match correct instance attribute names.
# Allow two letter attributes
attr-rgx=.*$
# Allow module level lowercase variables
const-rgx=(([a-zA-Z_][a-zA-Z0-9_]*)|(__.*__))$
[FORMAT]
max-line-length=250
[MISCELLANEOUS]
# Don't fail validation because of our TODO tags in source code
notes=
[DESIGN]
# Maximum number of arguments for function / method
max-args=12
# Maximum number of attributes for a class (see R0902).
max-attributes=25
[MESSAGES CONTROL]
# Disable:
# - Missing docstring
# :C0112: *Empty docstring*
# :R0903: *Too few public methods (%s/%s)*
# :R0904: *Too many public methods (%s/%s)*
# W0232: 14,0:IThemeSpecific: Class has no __init__ method --> interface class lacks these
# E0611: 11,0: No name 'interface' in module 'zope'
# F0401: 11,0: Unable to import 'zope.interface'
# W0403: 18,0: Relative import 'interfaces', should be 'visualtitle.interfaces'
# E1101: 20,0: Module 'five.grok' has no 'templatedir' member
# W0201: 49,8:MyFooter.update: Attribute 'portal_state' defined outside __init__
# C0103: 59,4:VisualTitleExtender.getFields: Invalid name "getFields" (should match [a-z_][a-z0-9_]{2,30}$)
disable = C0111, C0112, R0903, R0904, W0232, F0401, E0611, W0403, E1101, W0201, C0103
jshint:
enabled: true
linelength:
length: 250
Something went wrong with that request. Please try again.