# List of interface methods to ignore, separated by a comma. # you should avoid to define new builtins when possible. # List of additional names supposed to be defined in builtins. # A regular expression matching the name of dummy variables (i.e. # Tells whether we should check for unused import in _init_ files. Generated-members=REQUEST,acl_users,aq_parent ![]() # system, and so shouldn't trigger E0201 when accessed. # List of members which are set dynamically and missed by pylint inference # When zope mode is activated, add a predefined set of Zope acquired attributes # (useful for classes with attributes dynamically set). # List of classes names for which member attributes should not be checked # and thus existing member attributes cannot be deduced by static analysis # (useful for modules/projects where namespaces are manipulated during runtime # List of module names for which member attributes should not be checked # mixin class is detected if its name ends with "mixin" (case insensitive). # Tells whether missing members accessed in mixin class should be ignored. # Ignore imports when computing similarities. # Ignore docstrings when computing similarities. # Ignore comments when computing similarities. # List of note tags to take in consideration, separated by a comma. # Logging modules to check that the string format arguments are in logging # Number of spaces of indent required inside a hanging or continued line. This is usually " " (4 spaces) or "\t" (1 No-space-check=trailing-comma,dict-separator # List of optional constructs for which whitespace checking is disabled # Allow the body of an if to be on the same line as the test if there is no # Regexp for a line that is allowed to be longer than the limit. # Maximum number of characters on a single line. # Minimum line length for functions/classes that require docstrings, shorter # Regular expression which should only match function or class names that do # Regular expression matching correct method names # Regular expression matching correct module names # Regular expression matching correct class names # Regular expression matching correct inline iteration names # Regular expression matching correct function namesįunction-name-hint=|(_.*_))$ # Include a hint for the correct naming format with invalid-name # Colon-delimited sets of names that determine each other's naming style when # Bad variable names which should always be refused, separated by a comma ![]() ![]() # Good variable names which should always be accepted, separated by a comma # List of builtins function names that should not be used, separated by a comma # Required attributes for module, separated by a comma # used to format the message information. # Add a comment according to your evaluation note. This is used by the global evaluation reportĮvaluation=10.0 - ((float(5 * error warning refactor convention) / statement) * 10) # respectively contain the number of errors / warnings messages and the total You have access to the variables errors warning, statement which # Python expression which should return a note less than 10 (10 is the highest # Tells whether to display a full report or only the messages # written in a file name "pylint_global.". # command line instead of printing them on stdout. # Put messages in a separate file for each module / package specified on the Available formats are text, parseable, colorized, msvs Too-few-public-methods, too-many-public-methods, duplicate-code, # Disabling import-error and no-name-in-module because these don't work with flaskĭisable=import-error, no-name-in-module, invalid-name, star-args, # no Warning level messages displayed, use"-disable=all -enable=classes If you want to run only the classes checker, but have # you want to run only the similarities checker, you can use "-disable=all # disable everything first and then reenable specific checks. # file where it should appear only once).You can also use "-disable=all" to # option multiple times (only on the command line, not in the configuration # can either give multiple identifiers separated by comma (,) or put this # Disable the message, report, category or checker with the given id(s). See also the "-disable" option for examples. # either give multiple identifier separated by comma (,) or put this option # Enable the message, report, category or checker with the given id(s). # usually to register additional checkers. # List of plugins (as comma separated values of python modules names) to load, # Pickle collected data for later comparisons. # Add files or directories to the blacklist. # Python code to execute, usually for sys.path manipulation such as
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |