Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move all package files to a pylint package. | Ionel Cristian Maries | 2015-02-14 | 1 | -982/+0 |
| | |||||
* | Use all the inferred statements for the super-init-not-called check. | Claudiu Popa | 2015-02-09 | 1 | -20/+21 |
| | | | | | | | | | For the super-init-not-called check, ``next(expr.infer())`` was used, which returned as the first statement an YES node, which resulted in the node being skipped for processing. Inferring all the objects would have returned the actual classes for which the parent was indeed called. This patch changes that to a infer-all strategy, which should yield better results. Closes issue #389. | ||||
* | Add the method names for the 'signature-differs' and 'argument-differs' | Claudiu Popa | 2015-01-11 | 1 | -4/+8 |
| | | | | | | warnings. Closes issue #433. | ||||
* | Fix a false positive with invalid-slots-objects and unicode strings. Closes ↵ | Claudiu Popa | 2015-01-03 | 1 | -1/+1 |
| | | | | issue #421. | ||||
* | Use a mro traversal for finding abstract methods. Closes issue #415. | Claudiu Popa | 2014-12-21 | 1 | -6/+13 |
| | | | | | | | | | This patch adds a new unimplemented_abstract_methods in pylint.checkers.utils, which is used to obtain all the abstract methods which weren't implemented anywhere in the mro of a class. The code works now by traversing the mro, gathering all abstract methods encountered at each step and resolving the implemented ones through either definition or assignment. This disables a couple of false positives on classes with complex hierarchies. | ||||
* | Check the return value of slots, it can be None. | Claudiu Popa | 2014-12-05 | 1 | -0/+2 |
| | |||||
* | Use the public method astroid.nodes.Class.is_subtype_of. | Torsten Marek | 2014-11-22 | 1 | -6/+2 |
| | |||||
* | _is_subtype_of needs a context. | Claudiu Popa | 2014-11-22 | 1 | -2/+7 |
| | | | | Probably, we should make context optional for _is_subtype_of. | ||||
* | Documentation improvementsdocs-improvements-2 | Michal Nowikowski | 2014-11-04 | 1 | -2/+2 |
| | | | | | | | | - added intros to features page, - fixed PyLint to Pylint in text, - improved ide-integration doc page, - updated pylintrc in examples and - regenerated pylint manual | ||||
* | Add a new option, 'exclude-protected'. | Claudiu Popa | 2014-10-28 | 1 | -2/+12 |
| | | | | | This option can be used for excluding members from the protected-access warning. Closes issue #48. | ||||
* | Use a defaultdict where it makes sense. | Claudiu Popa | 2014-10-25 | 1 | -3/+4 |
| | |||||
* | Don't emit 'assigning-non-slot' when the assignment is for a property. | Claudiu Popa | 2014-10-15 | 1 | -1/+34 |
| | | | | Closes issue #359. | ||||
* | Add a new warning, 'inherit-non-class', emitted when a class inherits from ↵ | cpopa | 2014-09-12 | 1 | -2/+24 |
| | | | | something which is not a class. Closes issue #331 | ||||
* | Modernize to the point of working for Python 2.7 still | Brett Cannon | 2014-08-29 | 1 | -6/+7 |
| | |||||
* | Fix a crash which ocurred while checking for 'method-hidden', when the ↵ | cpopa | 2014-08-23 | 1 | -1/+2 |
| | | | | parent frame was something different than a function. | ||||
* | Detect calls of the parent's __init__, through a binded super() call. | cpopa | 2014-08-16 | 1 | -0/+11 |
| | |||||
* | Don't emit 'protected-access' if the attribute is accessed using a property ↵ | cpopa | 2014-08-14 | 1 | -1/+18 |
| | | | | defined at the class level. | ||||
* | Cleanup. | cpopa | 2014-08-08 | 1 | -8/+16 |
| | |||||
* | Minor cleanup. | cpopa | 2014-08-05 | 1 | -9/+8 |
| | |||||
* | Don't emit 'attribute-defined-outside-init' if the attribute was set by a ↵ | cpopa | 2014-08-04 | 1 | -0/+33 |
| | | | | function call in a defining method. Closes issue #192. | ||||
* | linting pylint | Sylvain Th?nault | 2014-07-25 | 1 | -41/+39 |
| | |||||
* | Only emit attribute-defined-outside-init for definition within the same ↵ | Sylvain Th?nault | 2014-07-25 | 1 | -1/+5 |
| | | | | | | module as the offended class This avoids mangling the output in some cases | ||||
* | Don't emit hidden-method message when the attribute has been monkey-patched, | Sylvain Th?nault | 2014-07-25 | 1 | -3/+7 |
| | | | | | | you're on your own when you do that Closes http://www.logilab.org/ticket/36653 | ||||
* | Add 'assigning-non-slot' warning, which detects assignments to attributes ↵ | cpopa | 2014-07-10 | 1 | -1/+32 |
| | | | | not defined in slots. | ||||
* | Remove trailing whitespace. | cpopa | 2014-07-01 | 1 | -1/+1 |
| | |||||
* | Emit attribute-defined-outside-init for all cases, not just for the last ↵ | cpopa | 2014-07-01 | 1 | -21/+23 |
| | | | | assignment. Closes issue #262. | ||||
* | [classes checker] fix access-member-before-definition false negative wrt aug ↵ | Sylvain Th?nault | 2014-04-15 | 1 | -0/+17 |
| | | | | assign. Closes #164 | ||||
* | various cleanups | Sylvain Th?nault | 2014-04-15 | 1 | -5/+7 |
| | |||||
* | Emit only symbolic names from the classes checker. | Torsten Marek | 2014-04-10 | 1 | -30/+29 |
| | |||||
* | Infer slots elements before attempting to validate them. | cpopa | 2014-04-12 | 1 | -11/+18 |
| | |||||
* | Remove empty-slots-object, define tuple with methods at the global level. | cpopa | 2014-04-09 | 1 | -1/+2 |
| | |||||
* | Merge with default. | cpopa | 2014-04-09 | 1 | -1/+53 |
|\ | |||||
| * | Verify all the infered slots, skip YES nodes from the values and other fixes. | cpopa | 2014-04-09 | 1 | -36/+39 |
| | | |||||
| * | Merge with default. | cpopa | 2014-03-31 | 1 | -1/+50 |
| |\ | |||||
| | * | Add new checks for proper class slots. | cpopa | 2014-03-31 | 1 | -1/+50 |
| | | | |||||
* | | | Merged in dpursehouse/pylint (pull request #88) | Claudiu Popa | 2014-04-09 | 1 | -1/+4 |
|\ \ \ | |/ / | | | | | | | Better message for E0202 | ||||
| * | | Do not warn about 'abstract-method' when the abstract method is implemented ↵ | cpopa | 2014-03-25 | 1 | -0/+3 |
| |/ | | | | | | | through assignment. Closes #155. | ||||
| * | Updated FSF address. | Arun Persaud | 2014-02-23 | 1 | -1/+1 |
| | | |||||
* | | Better message for E0202 | David Pursehouse | 2014-01-21 | 1 | -1/+1 |
|/ | |||||
* | various pylint fixes | Sylvain Th?nault | 2013-12-22 | 1 | -4/+4 |
| | |||||
* | Fix argument check for variable arguments. | cpopa | 2013-09-26 | 1 | -1/+4 |
| | |||||
* | Add bad-context-manager check for __exit__ special method. | cpopa | 2013-09-26 | 1 | -0/+12 |
| | |||||
* | Update non-iterator-returned message. | cpopa | 2013-09-02 | 1 | -1/+1 |
| | |||||
* | Use NEXT_METHOD globally. | cpopa | 2013-09-02 | 1 | -6/+5 |
| | |||||
* | Check only for next method. | cpopa | 2013-08-30 | 1 | -7/+6 |
| | |||||
* | Add check for non-iterator returned by __iter__. | cpopa | 2013-08-08 | 1 | -1/+37 |
| | |||||
* | astng has been renamed astroid | David Douard | 2013-06-17 | 1 | -34/+34 |
| | |||||
* | erroneous W0212 (access to protected member) on super call. Closes #115580 | Martin Pool | 2013-01-08 | 1 | -1/+6 |
| | |||||
* | Fixes a crash when an __init__ method in a base class has been created by ↵ | tmarek | 2012-11-12 | 1 | -2/+2 |
| | | | | assignment rather than direct function definition. Closes #110853 | ||||
* | Closes #104572: symbolic warning names in output (by Martin Pool) | Martin Pool | 2012-09-19 | 1 | -0/+21 |
| | | | | triggered whatever the format using a command line option |