summaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2016-07-11 12:47:19 +0200
committerFlorian Bruhin <git@the-compiler.org>2016-07-11 13:00:08 +0200
commit63b8d225e8a8ae77ec975ce4fb7bf111f5faba06 (patch)
tree601499f2f600d5c2a9ca496a75799a10bd520a71 /.pylintrc
parent216d8c3c13d14794c22cb04c57bda58b15faa6f4 (diff)
downloadqutebrowser-63b8d225e8a8ae77ec975ce4fb7bf111f5faba06.tar.gz
qutebrowser-63b8d225e8a8ae77ec975ce4fb7bf111f5faba06.zip
pylint requirements: pylint 1.6
Closes #1632. new: mccabe new: isort deleted: colorama astroid 1.4.7 ------------- * Stop saving assignment locals in ExceptHandlers, when the context is a store. This fixes a tripping case, where the RHS of a ExceptHandler can be redefined by the LHS, leading to a local save. For instance, ``except KeyError, exceptions.IndexError`` could result in a local save for IndexError as KeyError, resulting in potential unexpected inferences. Since we don't lose a lot, this syntax gets prohibited. pylint 1.6.0 ------------ * Added a new extension, `pylint.extensions.mccabe`, for warning about complexity in code. * Deprecate support for --optimize-ast. * Deprecate support for the HTML output. * Deprecate support for --output-files. * Fixed a documentation error for the check_docs extension. * Made the list of property-defining decorators configurable. * Fix a bug where the top name of a qualified import was detected as unused variable. * bad-builtin is now an extension check. * generated-members support qualified name through regular expressions. For instance, one can specify a regular expression as --generated-members=astroid.node_classes.* for ignoring every no-member error that is accessed as in `astroid.node_classes.missing.object`. * Add the ability to ignore files based on regex matching, with the new ``--ignore-patterns`` option. This allows for multiple ignore patterns to be specified. Rather than clobber the existing ignore option, we introduced a new one called ignore-patterns. * Added a new error, 'trailing-newlines', which is emitted when a file has trailing new lines. * Add a new option, 'redefining-builtins-modules', for controlling the modules which can redefine builtins, such as six.moves and future.builtins. * 'reimported' is emitted when the same name is imported from different module. * Add a new recommendation checker, 'consider-iterating-dictionary', which is emitted which is emitted when a dictionary is iterated through .keys(). * Use the configparser backport for Python 2 This fixes a problem we were having with comments inside values, which is fixed in Python 3's configparser. * A new error was added, 'invalid-length-returned', when the `__len__` special method returned something else than a non-negative number. * Switch to using isort internally for wrong-import-order. * check_docs extension can find constructor parameters in __init__. * Don't warn about invalid-sequence-index if the indexed object has unknown base classes. * Don't crash when checking, for super-init-not-called, a method defined in an if block. * Do not emit import-error or no-name-in-module for fallback import blocks by default. Until now, we warned with these errors when a fallback import block (a TryExcept block that contained imports for Python 2 and 3) was found, but this gets cumbersome when trying to write compatible code. As such, we don't check these blocks by default, but the analysis can be enforced by using the new ``--analyse-fallback-block`` flag. pylint 1.6.1 ------------ * Use environment markers for supporting conditional dependencies.
Diffstat (limited to '.pylintrc')
0 files changed, 0 insertions, 0 deletions