Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move all package files to a pylint package. | Ionel Cristian Maries | 2015-02-14 | 1 | -1253/+0 |
| | |||||
* | Don't require a docstring for empty modules. Closes issue #261. | Claudiu Popa | 2015-01-24 | 1 | -0/+5 |
| | |||||
* | Add the name of the abstract class in abstract-class-instantiated message. | Claudiu Popa | 2015-01-02 | 1 | -3/+7 |
| | |||||
* | Use a mro traversal for finding abstract methods. Closes issue #415. | Claudiu Popa | 2014-12-21 | 1 | -47/+9 |
| | | | | | | | | | 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. | ||||
* | Proper abstract method lookup while checking for abstract-class-instantiated. | Claudiu Popa | 2014-12-16 | 1 | -2/+31 |
| | | | | | This depends on the new Class.mro method, which will be added in astroid 1.3.3. Closes issue #401. | ||||
* | Make some methods private. | Claudiu Popa | 2014-12-04 | 1 | -4/+4 |
| | |||||
* | Improve the reporting for dangerous-default-value. | Claudiu Popa | 2014-12-03 | 1 | -9/+21 |
| | | | | | | The new version takes in consideration the fact that a couple of builtins, dict, tuple, set and list can be inferred to their AST syntax node, which messed up the reporting for dangerous-default-value until now. | ||||
* | Make dangerous-default-argument check resilient to inferred builtin calls ↵ | Claudiu Popa | 2014-11-28 | 1 | -1/+4 |
| | | | | for list/tuple/set. | ||||
* | pylint pylint | Sylvain Th?nault | 2014-11-19 | 1 | -17/+21 |
| | |||||
* | Move old-raise-syntax to the python3 porting checker. | Claudiu Popa | 2014-11-15 | 1 | -11/+1 |
| | |||||
* | Shorten a long line. | Claudiu Popa | 2014-11-15 | 1 | -2/+3 |
| | |||||
* | Emit abstract-class-instantiated for classes with ancestors that have an ↵ | Claudiu Popa | 2014-11-15 | 1 | -6/+6 |
| | | | | ABCMeta metaclass. | ||||
* | abstract-class-instantiated is also emitted for Python 2. | Claudiu Popa | 2014-11-15 | 1 | -2/+1 |
| | |||||
* | Introduce a Python 3 checker. | Brett Cannon | 2014-10-03 | 1 | -2/+1 |
| | | | | | | | Start with checking for built-ins that are not available in Python 3 and magic methods which have no equivalent. Part of issue #20. | ||||
* | Change basestring to six.string_types | Brett Cannon | 2014-08-29 | 1 | -1/+1 |
| | |||||
* | Fix a incorrect use of sys.maxint by using sys.maxsize | Brett Cannon | 2014-08-29 | 1 | -1/+1 |
| | |||||
* | Modernize to the point of working for Python 2.7 still | Brett Cannon | 2014-08-29 | 1 | -9/+11 |
| | |||||
* | Implement confidence levels. | Torsten Marek | 2014-07-24 | 1 | -16/+30 |
| | | | | | | | - attach confidence levels to a number of messages - include confidence levels in the message object - if the confidence of a message is not HIGH or UNDEFINED, include it in the test output. | ||||
* | Change the multi-style name checker from first-style-wins to ↵ | Torsten Marek | 2014-07-24 | 1 | -10/+34 |
| | | | | majority-style-wins. | ||||
* | Don't emit 'invalid-name' when assigning a name in an ImportError handler. ↵ | cpopa | 2014-08-09 | 1 | -2/+27 |
| | | | | Closes issue #302. | ||||
* | Revert change. | cpopa | 2014-08-08 | 1 | -1/+1 |
| | |||||
* | Cleanup. | cpopa | 2014-08-08 | 1 | -11/+14 |
| | |||||
* | Converted more test cases. | Torsten Marek | 2014-07-30 | 1 | -1/+1 |
| | |||||
* | [refs #282] A previous failed merge meant the fixes got applied to a very ↵ | carl | 2014-07-29 | 1 | -247/+423 |
| | | | | old version of base.py. This commit uses the correct up-to-date version of base.py instead! | ||||
* | [refs #282] Various improvements based on feedback on pull-request #138 | carl | 2014-07-29 | 1 | -430/+256 |
| | |||||
* | [refs #282] dangerous-default-values are now not evaluated to get their ↵ | carl | 2014-07-27 | 1 | -4/+16 |
| | | | | type/name, as this would dump the entire contents of the list or dictionary into the error message. This is not desirable for large defaults, or for sensitive information such as os.environ. | ||||
* | Don't emit 'missing-docstring' when the actual docstring uses `.format`. ↵ | cpopa | 2014-07-25 | 1 | -0/+12 |
| | | | | Closes issue #281. | ||||
* | linting pylint | Sylvain Th?nault | 2014-07-25 | 1 | -207/+200 |
| | |||||
* | Don't emit 'unnecessary-lambda' if the body of the lambda call contains call ↵ | cpopa | 2014-07-25 | 1 | -0/+5 |
| | | | | chaining. Closes issue #243. | ||||
* | Don't emit 'pointless-string-statement' for attribute docstrings. Closes ↵ | cpopa | 2014-07-24 | 1 | -3/+15 |
| | | | | issue #193. | ||||
* | Fix a potential AttributeError when checking for `reversed` arguments. | cpopa | 2014-04-25 | 1 | -5/+8 |
| | |||||
* | Fix Python < 2.7 compatibility. | cpopa | 2014-04-14 | 1 | -1/+1 |
| | |||||
* | Make it possible to show a naming hint for invalid name by setting ↵ | Torsten Marek | 2014-03-30 | 1 | -69/+41 |
| | | | | include-naming-hint. Also make the naming hints configurable. | ||||
* | Added support for enforcing multiple, but consistent name styles for ↵ | Torsten Marek | 2014-04-09 | 1 | -1/+36 |
| | | | | different name types inside a single module. | ||||
* | Also warn about empty docstrings on overridden methods. | Torsten Marek | 2014-03-30 | 1 | -3/+5 |
| | |||||
* | Remove the reference to ast.literal_eval from the error message. | cpopa | 2014-04-07 | 1 | -2/+2 |
| | |||||
* | Add new warning 'eval-used'. | cpopa | 2014-03-25 | 1 | -1/+9 |
| | |||||
* | Merged in PCManticore/pylint (pull request #91) | Sylvain Th?nault | 2014-02-24 | 1 | -6/+9 |
|\ | | | | | | | Do not warn about returning values in generator for Python 3.3+. | ||||
| * | Wrong maxversion used. | cpopa | 2014-02-22 | 1 | -1/+1 |
| | | |||||
| * | Syntax only valid for Python 3.3+. | cpopa | 2014-02-22 | 1 | -4/+4 |
| | | |||||
| * | Do not warn about returning values in generator for Python 3, it is valid ↵ | cpopa | 2014-02-22 | 1 | -7/+10 |
| | | | | | | | | syntax. | ||||
* | | Updated FSF address. | Arun Persaud | 2014-02-23 | 1 | -1/+1 |
|/ | |||||
* | Use qname(), remove useless check and add packaging info. | cpopa | 2014-02-14 | 1 | -8/+2 |
| | |||||
* | Add support for abc.ABC from Python 3.4. | cpopa | 2014-02-13 | 1 | -2/+19 |
| | |||||
* | Use .next. | cpopa | 2014-02-13 | 1 | -1/+1 |
| | |||||
* | Add abstract-class-instantiated warning. | cpopa | 2014-02-09 | 1 | -1/+44 |
| | |||||
* | Mark `file` as a bad function when using python 2, closes #8. | cpopa | 2014-01-11 | 1 | -0/+1 |
| | |||||
* | Ignore non-inferable nodes, add test case for non-inferable nodes. | cpopa | 2014-01-09 | 1 | -0/+2 |
| | |||||
* | Merge with default. | cpopa | 2014-01-09 | 1 | -6/+16 |
|\ | |||||
| * | various pylint fixes | Sylvain Th?nault | 2013-12-22 | 1 | -2/+2 |
| | |