pylintrc revision 290
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License (the "License").
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You may not use this file except in compliance with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Use is subject to license terms.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# This file is used to control pylint when checking python source
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Profiled execution.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Add <file or directory> to the black list. It should be a base name, not a
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# path. You may set this option multiple times.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Pickle collected data for later comparisons.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinpersistent=no
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# List of plugins (as comma separated values of python modules names) to load,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# usually to register additional checkers.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinload-plugins=
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin[MESSAGES CONTROL]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Enable all checker(s) except those with the given id(s). This option
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# conflicts with the enable-checker option
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chindisable-checker=similarities
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Disable the message(s) with the given id(s).
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# C0103 Invalid name "%s" Used when the const/var/class name doesn't match regex
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# C0111 Missing Docstring
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# W0311 Bad Indentation
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# W0311 Mixed (Space/Tab) Indentation
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# W0511 "XXX" / "FIXME" Comments
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chindisable-msg=C0103,C0111,W0311,W0312,W0511
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# set the output format. Available formats are text, parseable, colorized, msvs
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# (visual studio) and html
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinoutput-format=text
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Include message's id in output
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude-ids=yes
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Put messages in a separate file for each module / package specified on the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# command line instead of printing them on stdout. Reports (if any) will be
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# written in a file name "pylint_global.[txt|html]".
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinfiles-output=no
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Tells wether to display a full report or only the messages
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinreports=yes
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Python expression which should return a note less than 10 (10 is the highest
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# note).You have access to the variables errors warning, statement which
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# respectivly contain the number of errors / warnings messages and the total
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# number of statements analyzed. This is used by the global evaluation report
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinevaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Add a comment according to your evaluation note. This is used by the global
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# evaluation report (R0004).
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# checks for :
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# * doc strings
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# * modules / classes / functions / methods / arguments / variables name
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# * number of arguments, local variables, branchs, returns and statements in
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# functions, methods
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# * required module attributes
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# * dangerous default values as arguments
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# * redefinition of function / method / class
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# * uses of the global statement
# A regular expression matching names used for dummy variables (i.e. not used).
ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
# List of method names used to declare (i.e. assign) instance attributes.
# checks for sign of poor/misdesign:
# Create a graph of every (i.e. internal and external) dependencies in the