summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Rename checking function for 'super()' call checking and update Changelog.fix-667Dmitry Pribysh2015-10-181-0/+4
|
* Don't emit 'assigning-non-slot' for descriptors. Closes issue #652.Claudiu Popa2015-10-041-0/+2
|
* Add ChangeLog entry for changeset ec1d42a12Claudiu Popa2015-10-041-0/+3
|
* Add checker to identify multiple imports on one line.Dmitry Pribysh2015-10-011-1/+4
| | | | Fixes issue #598. Had to modify some functional tests to ignore new message.
* Start adding a protocol checker for the async features added in PEP 492:Claudiu Popa2015-10-011-0/+10
| | | | | | | | | | | | | | * this patch adds the basis of a new checker, 'async', which deals with problems that can occur when working with async features added in Python with PEP 492. * We're also adding a new error, 'yield-inside-async-function', emitted on Python 3.5 and upwards when the `yield` statement is found inside a new coroutine function (PEP 492). * Another new error is added, 'not-async-context-manager', emitted when an async context manager block is used with an object which doesn't support this protocol (PEP 492).
* Don't consider a class abstract if its members can't be properly inferred.Claudiu Popa2015-09-301-0/+6
| | | | | This fixes a false positive related to abstract-class-instantiated. Closes issue #648.
* Add ChangeLog entry for the deprecated-module change.Claudiu Popa2015-09-271-0/+3
|
* Grammar fix.Claudiu Popa2015-09-231-2/+2
|
* Add changelog entry for 014f596 and a couple of other fixes.Claudiu Popa2015-09-211-0/+5
|
* Abbreviations of command line options are not supported anymore.Claudiu Popa2015-09-191-0/+8
| | | | | | | | Using abbreviations for CLI options was never considered to be a feature of pylint, this fact being only a side effect of using optparse. As this was the case, using --load-plugin or other abbreviation for --load-plugins never actually worked, while it also didn't raise an error. Closes issue #424.
* Add ChangeLog entry for commit 0ec6615cc2009b27be0c29a493dd865261d518a2Claudiu Popa2015-09-191-0/+4
| | | | Closes issue #639.
* Bring logilab-common's ureports into pylint.reporters.Claudiu Popa2015-09-051-0/+8
| | | | | | | | With this change, we moved away from depending on logilab-common, having in Pylint all the components that were used from logilab-common. The API should be considered an implementation detail and can change at some point in the future. Closes issue #621.
* Allow a bare raise only inside an except clause.Claudiu Popa2015-09-041-1/+1
|
* Add a new error, 'misplaced-bare-raise'.Claudiu Popa2015-09-041-1/+11
| | | | | | | | | | The error is used when a bare raise is not used inside a try suite. This can generate a RuntimeError in Python, if there are no active exceptions to be reraised. While it works in Python 2 due to the fact that the exception leaks outside of the except block, it's nevertheless a behaviour that an user shouldn't depend upon, since it's not obvious to the reader of the code what exception will be raised and it will not be compatible with Python 3 anyhow. Closes issue #633.
* Make the --profile flag obsolete. Will be removed in Pylint 1.6.Claudiu Popa2015-09-021-1/+3
|
* --comment flag was obsoleted and it will be removed in Pylint 1.6.Claudiu Popa2015-08-201-0/+2
|
* missing-reversed-argument was removed.Claudiu Popa2015-08-201-0/+7
| | | | | | | The reason behind this is that this kind of errors should be detected by the type checker for *all* the builtins and not as a special case for the reversed builtin. This will happen shortly in the future.
* 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
|