summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* missing-module-attribute was removed and the corresponding CLI option, ↵Claudiu Popa2015-08-201-0/+4
| | | | required-attributes, is slated for removal in Pylint 1.6.
* The --zope flag is deprecated and it is slated for removal in Pylint 1.6.Claudiu Popa2015-08-111-0/+12
| | | | | | | | The reason behind this removal is the fact that it's a specialized flag and there are solutions for the original problem: use --generated-members with the members that causes problems when using Zope or add AST transforms tailored to the zope project. Closes issue #570.
* Add a new error, 'continue-in-finally'.Claudiu Popa2015-08-021-0/+4
| | | | | The error is emitted when the `continue` keyword is found inside a `finally` clause, which is a SyntaxError.
* Improved the not-in-loop checker to properly detect more cases.Claudiu Popa2015-08-021-0/+2
|
* --generate-rcfile generates by default human readable symbols for the ↵Claudiu Popa2015-07-311-0/+3
| | | | --disable option. Closes issue #608.
* Add ChangeLog entry for a3918e708197. Closes issue #541.Claudiu Popa2015-07-301-1/+4
|
* Don't emit no-init if not all the bases from a class are known.Claudiu Popa2015-07-221-1/+3
| | | | Closes issue #604.
* Improve detection of relative imports in non-packages, as well as importing ↵Claudiu Popa2015-07-141-0/+4
| | | | | | | missing modules with a relative import from a package. The change improves how relative imports are shown when they are missing, with the absolute name, instead of the relative one.
* Fix the previous commit, only ignored-modules should use patterns, not ↵Claudiu Popa2015-07-081-2/+4
| | | | | | ignored-classes. Thanks to The-Compiler for noticing the discrepancy.
* ignored-classes option can work with qualified names, as well as with Unix ↵Claudiu Popa2015-07-071-0/+4
| | | | | | patterns. Closes issues #244 and #297.
* Add a new error, 'nonlocal-and-global'.Claudiu Popa2015-07-061-0/+4
| | | | | | This error is emitted when a name is found to be both nonlocal and global in the same scope. This is a SyntaxError in Python 2, but Python 3's ast happily parses it, so it needs to be a separate error. Closes issue #581.
* Enable misplaced-future for Python 3. Closes issue #580.Claudiu Popa2015-07-031-0/+2
|
* New imported features from astroid into pyreverse.Claudiu Popa2015-07-031-0/+5
| | | | | | We moved pyreverse.inspector.Project, pyreverse.inspector.project_from_files and pyreverse.inspector.interfaces. These were moved since they didn't belong in astroid and they can be better maintained inside pyreverse itself.
* Disable for unsupported-binary-operationClaudiu Popa2015-07-021-0/+2
| | | | | | | | Unfortunately, this warning exhibits currently way too many false positives, practically rendering this error useless. I can't fix all of them until I release Pylint 1.5, so the most reasonable choice for now is to disable it and reenable it as soon as we fix those problems.
* Add a new error, 'unsupported-binary-operation'.Claudiu Popa2015-06-301-1/+5
| | | | | | This error is emitted when two a binary arithmetic operation is executed between two objects which don't support it (a number plus a string for instance).
* Add a new error, 'star-needs-assignment-target'.Claudiu Popa2015-06-261-0/+4
| | | | | | This error is emitted on Python 3 when a Starred expression (*x) is not used in an assignment target. This is not caught when parsing the AST on Python 3, so it needs to be a separate check.
* Add a new error for the Python 3 porting checker, `import-star-module-level`.Claudiu Popa2015-06-251-0/+5
| | | | | | This error is used when a star import is detected in another scope than the module level, which is an error on Python 3. Using this will emit a SyntaxWarning on Python 2.
* Detect a couple of objects which can't be base classes (bool, slice, range ↵Claudiu Popa2015-06-251-0/+3
| | | | and memoryview, which weren't detected until now).
* Add a new error, 'invalid-star-assignment-target'.Claudiu Popa2015-06-251-0/+4
| | | | | This error is emitted when a starred expression (*x) is used as the lhs side of an assignment, as in `*x = [1, 2]`. This is not a SyntaxError on Python 3 though.
* Add a new error, 'too-many-star-expressions'.Claudiu Popa2015-06-251-0/+4
| | | | | The error is emitted when there are more than one starred expression (*x) in an assignment. The warning is emitted only on Python 3.
* yield-outside-func is also emitted for `yield from`.Claudiu Popa2015-06-251-0/+2
|
* Don't emit undefined-all-variable for nodes which can't be inferred (which ↵Claudiu Popa2015-06-201-0/+3
| | | | returns YES from inference).
* pylint.checkers.utils.excepts_import_error was removed.Claudiu Popa2015-06-201-0/+3
|
* astroid.utils.LocalsVisitor was moved to pylint.pyreverse.LocalsVisitor.Claudiu Popa2015-06-171-0/+2
|
* Import astroid inspector to pyreverse.inspector.Claudiu Popa2015-06-171-0/+3
|
* arguments-differ understand differences between various type of functions.Claudiu Popa2015-06-141-0/+4
| | | | | This patch improves the way how arguments-differ understands the differences between classmethods, staticmethods and properties. Closes issue #548.
* Add a new error, 'invalid-unary-type-operand'.Claudiu Popa2015-06-131-0/+6
| | | | | | | This new error is emitted when an unary operand is used on something which doesn't support that operation (for instance, using the unary bitwise inversion operator on an instance which doesn't implement __invert__).
* Add ChangeLog entry, new test and documentation for searching .pylintrc in ↵Claudiu Popa2015-06-011-0/+4
| | | | the current folder.
* Don't emit 'raising-non-exception' when the exception has unknown bases.Claudiu Popa2015-05-271-0/+5
| | | | | | We don't know what those bases actually are and it's better to assume that the user knows what he is doing rather than emitting a message which can be considered a false positive.
* Add a new warning, 'using-constant-test'.Claudiu Popa2015-05-231-0/+5
| | | | | | This new warning is emitted when a conditional statement (If, IfExp) uses a test which is always constant, such as numbers, classes, functions etc. This is most likely an error from the user's part. Closes issue #524.
* Clarify no-docstring-rgx change in ChangeLogThe-Compiler/clarify-nodocstringrgx-change-in-changel-1432184214099Florian Bruhin2015-05-211-1/+2
|
* Don't emit undefined-variable if the node is guarded by a NameError, ↵Claudiu Popa2015-05-191-0/+3
| | | | Exception or bare except clause.
* Add ChangeLog entry for changesets beca5817 and 140c2a5cfdc6.Claudiu Popa2015-05-171-1/+5
|
* Don't emit no-member for nodes protected by AttributeError, Exception or ↵Claudiu Popa2015-05-171-0/+4
| | | | bare except handlers.
* Don't emit no-name-in-module if the import is guarded by an ImportError handler.Claudiu Popa2015-05-161-0/+2
|
* Remove 'bad-context-manager' due to the inclusion of ↵Claudiu Popa2015-05-141-0/+2
| | | | 'unexpected-special-method-signature'.
* Add a new warning 'unexpected-special-method-signature'.Claudiu Popa2015-05-141-0/+5
| | | | | This is emitted when a special method (dunder method) doesn't have the expected signature, which can lead to actual errors in the application code. Closes issue #253.
* Improve the detection of undefined variables in function argumentsClaudiu Popa2015-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch involves a lot of subtle changes: * is_defined_before takes in consideration the fact that its argument node is a default value for a Lambda / Function. If it is a default value, then the search is left to the parent of the lambda. Basically for x in the following, the result of is_defined_before will be determined by foo: def foo(): x = 42 func = lambda x=x: x * x return func * there's another special rule for undefined-variable which verifies that a node is used in Arguments.defaults and if the actual definition is happening before the Arguments statement, basically trying to understand the following: class A: x = 42 foo = lambda x=x: x * x * undefined variable is emitted if both scope types, for the node analyzed and for its actual definition, is they are both lambda scopes. Closes issue #404.
* Detect undefined-variables in function default arguments.Claudiu Popa2015-05-121-0/+5
| | | | | | | This patch improves the detection of undefined variables and variables used before assignment for variables used as default arguments to function, where the variable was first defined in the class scope. Closes issue #342.
* Don't emit attribute-defined-outside-init and ↵Claudiu Popa2015-05-121-0/+4
| | | | | | | | access-member-before-definition for mixin classes. Actual errors can occur in mixin classes, but this is controlled by the ignore-mixin-members option, so if something is a legitimate error, then the user can pass --ignore-mixin-members=no in order to check these in mixin classes as well. Closes issue #412.
* Improve detection of undefined variables.Claudiu Popa2015-05-111-0/+5
| | | | | | | | | | Detect undefined variable cases, where the "definition" of an undefined variable was in del statement, e.g: x = y del y Instead of emitting used-before-assignment, which is totally misleading, it now emits undefined-variable. Closes issue #528.
* Merged in bdanielby/pylint (pull request #143)Claudiu Popa2015-05-101-0/+6
|\ | | | | | | New extensions directory, new optional checker of Sphinx style, Google style and Numpy style parameter documentation
| * moved the changelog entry to the topmost sectionBruno Daniel2015-05-101-6/+6
| |
| * adapted the changelogBruno Daniel2015-05-101-2/+2
| |
| * mergeBruno Daniel2015-05-081-0/+6
| |\
| | * Merged logilab/pylint into defaultbdanielby2014-09-131-0/+18
| | |\
| | * \ Merged logilab/pylint into defaultbdanielby2014-08-271-1/+7
| | |\ \
| | | * \ Merged logilab/pylint into defaultbdanielby2014-08-151-1/+7
| | | |\ \
| | | | * \ merged with logilab/pylint and added Changelog entry for the new documentationBruno Daniel2014-08-111-1/+11
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | file doc/extensions.rst
| | | | * | | changelog entry for the new extensions module and the new checker 'check_docs'Bruno Daniel2014-08-081-0/+6
| | | | | | |