Skip to content

Instantly share code, notes, and snippets.

@hoffrocket
Created March 1, 2013 16:49
Show Gist options
  • Save hoffrocket/5065987 to your computer and use it in GitHub Desktop.
Save hoffrocket/5065987 to your computer and use it in GitHub Desktop.
pylintrc
[MESSAGES CONTROL]
# Brain-dead errors regarding standard language features
# W0142 = *args and **kwargs support
# W0403 = Relative imports
# Pointless whinging
# R0201 = Method could be a function
# W0613 = Unused argument
# W0232 = Class has no __init__ method
# R0903 = Too few public methods
# C0301 = Line too long
# R0913 = Too many arguments
# C0103 = Invalid name
# R0914 = Too many local variables
# PyLint's module importation is unreliable
# F0401 = Unable to import module
# W0402 = Uses of a deprecated module
# Already an error when wildcard imports are used
# W0614 = Unused import from wildcard
# Sometimes disabled depending on how bad a module is
# C0111 = Missing docstring
# Disable the message(s) with the given id(s).
disable=W0142,W0403,R0201,W0613,W0232,R0903,W0614,C0111,C0301,R0913,C0103,F0401,W0402,R0914
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=120
#
# # Maximum number of lines in a module
# max-module-lines=1000
#
# # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
# # tab).
indent-string=' '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment