Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | check for class methods declared without a decorator | Laura Médioni | 2015-10-29 | 1 | -3/+36 | |
| | | | | | | | | related to the issue #675 | |||||
* | | Make iterable checker skip classes that are inferred to be abstract | Dmitry Pribysh | 2015-10-27 | 1 | -10/+1 | |
|/ | | | | | --HG-- branch : fix-685 | |||||
* | non-iterator-returned can detect classes with iterator-metaclasses. | Claudiu Popa | 2015-10-20 | 1 | -11/+27 | |
| | | | | Closes issue #679. | |||||
* | Rename checking function for 'super()' call checking and update Changelog. | Dmitry Pribysh | 2015-10-18 | 1 | -2/+2 | |
| | | | | | --HG-- branch : fix-667 | |||||
* | Make `no-self-use` checker not throw a warning if method has a `super()` call. | Dmitry Pribysh | 2015-10-17 | 1 | -1/+10 | |
| | | | | | | | | | | This is only enabled for python 3.0+ and only for `super` calls with no arguments. Fixes issue #667. --HG-- branch : fix-667 | |||||
* | Don't emit 'assigning-non-slot' for descriptors. Closes issue #652. | Claudiu Popa | 2015-10-04 | 1 | -0/+23 | |
| | ||||||
* | Use the new node names for the visit and leave methods | Claudiu Popa | 2015-08-26 | 1 | -7/+7 | |
| | | | | | Also, emit a PendingDeprecationWarning if the old names are still used, this support being removed in pylint 2.0. | |||||
* | Update pylint to use the new astroid AST names and methods | Claudiu Popa | 2015-08-25 | 1 | -30/+28 | |
| | | | | | | | Also improve a couple of imports and added support for the old visit_ names. Priority will have the old visit_ names, such as visit_discard over visit_expr, visit_callfunc over visit_call etc. | |||||
* | Don't emit no-init if not all the bases from a class are known. | Claudiu Popa | 2015-07-22 | 1 | -1/+1 | |
| | | | | Closes issue #604. | |||||
* | Use safe_infer and has_known_bases from astroid.helpers. Closes issue #593. | Claudiu Popa | 2015-07-06 | 1 | -3/+4 | |
| | ||||||
* | Detect a couple of objects which can't be base classes (bool, slice, range ↵ | Claudiu Popa | 2015-06-25 | 1 | -1/+8 | |
| | | | | and memoryview, which weren't detected until now). | |||||
* | Fix a false positive regarding staticmethods: they don't have an implicit ↵ | Claudiu Popa | 2015-06-15 | 1 | -2/+1 | |
| | | | | argument when 'bounded'. | |||||
* | Remove trailing whitespace. | Claudiu Popa | 2015-06-14 | 1 | -3/+3 | |
| | ||||||
* | arguments-differ understand differences between various type of functions. | Claudiu Popa | 2015-06-14 | 1 | -6/+32 | |
| | | | | | This patch improves the way how arguments-differ understands the differences between classmethods, staticmethods and properties. Closes issue #548. | |||||
* | Pylint understand super calls. | Claudiu Popa | 2015-05-28 | 1 | -0/+3 | |
| | ||||||
* | Fix some pylint warnings over pylint's codebase. | Claudiu Popa | 2015-05-16 | 1 | -3/+3 | |
| | ||||||
* | Remove trailing whitespaces. | Claudiu Popa | 2015-05-14 | 1 | -3/+3 | |
| | ||||||
* | Remove 'bad-context-manager' due to the inclusion of ↵ | Claudiu Popa | 2015-05-14 | 1 | -19/+2 | |
| | | | | 'unexpected-special-method-signature'. | |||||
* | Add a new warning 'unexpected-special-method-signature'. | Claudiu Popa | 2015-05-14 | 1 | -3/+58 | |
| | | | | | 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. | |||||
* | Don't emit attribute-defined-outside-init and ↵ | Claudiu Popa | 2015-05-12 | 1 | -1/+9 | |
| | | | | | | | | 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. | |||||
* | Cleanup. | Claudiu Popa | 2015-05-11 | 1 | -6/+6 | |
| | ||||||
* | Move non-iterator-returned to a new checker, SpecialMethodsChecker, which ↵ | Claudiu Popa | 2015-05-10 | 1 | -26/+46 | |
| | | | | has checks for structural checking of special methods. | |||||
* | Remove unused imports. | Claudiu Popa | 2015-05-07 | 1 | -1/+0 | |
| | ||||||
* | Make ignore-iface-methods a noop option, mark it as deprecated. | Claudiu Popa | 2015-05-05 | 1 | -15/+5 | |
| | ||||||
* | Remove the rest of interface checks. | Claudiu Popa | 2015-05-05 | 1 | -74/+4 | |
| | | | | | | | The removed checks are interface-is-not-class, missing-interface-method, unresolved-interface. The reason is that its better to start recommending ABCs instead of the old Zope era of interfaces. | |||||
* | Add two new warnings, duplicate-bases and inconsistent-mro. | Claudiu Popa | 2015-05-03 | 1 | -1/+21 | |
| | | | | | | duplicate-bases is emitted when a class has the same bases listed more than once in its bases definition, while inconsistent-mro is emitted when no sane mro hierarchy can be determined. Closes issue #526. | |||||
* | Don't warn about no-self-use for builtin properties. | Claudiu Popa | 2015-04-06 | 1 | -1/+2 | |
| | ||||||
* | Add Changelog entry and cleanup after changeset 2307df9 | Claudiu Popa | 2015-03-31 | 1 | -2/+0 | |
| | ||||||
* | Promote a couple of warnings to errors. | Claudiu Popa | 2015-03-20 | 1 | -2/+3 | |
| | | | | | | | | These warnings were promoted since they could uncover potential bugs in the code and since most people are using `pylint -E` anyway, it's good to have them as errors. These warnings are: assignment-from-none, unbalanced-tuple-unpacking, unpacking-non-sequence, non-iterator-returned. Closes issue #388. | |||||
* | Fix a couple of doc warnings, use string continuation. | Claudiu Popa | 2015-03-02 | 1 | -43/+43 | |
| | ||||||
* | Move all package files to a pylint package. | Ionel Cristian Maries | 2015-02-14 | 1 | -0/+982 | |