Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move all package files to a pylint package. | Ionel Cristian Maries | 2015-02-14 | 183 | -6212/+0 |
| | |||||
* | Look all the methods from ancestors for too-few-public-methods. | Claudiu Popa | 2015-02-05 | 1 | -0/+16 |
| | | | | | | | | | This patch uses two counters for too-few-public-methods and too-many-public-methods. In order to avoid false positives, too-many-public-methods check is looking only for methods defined in the current class. On the other hand, too-few-public-methods should look in ancestors as well, since most of the time this check is useful only for simple classes, without many public methods. Closes issue #471. | ||||
* | Use a mro traversal for finding abstract methods. Closes issue #415. | Claudiu Popa | 2014-12-21 | 1 | -36/+0 |
| | | | | | | | | | 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. | ||||
* | Fix typos in docstringBioGeek/fix-typos-in-docstring-1418910993320 | BioGeek | 2014-12-18 | 1 | -1/+1 |
| | |||||
* | Check the return of properties when checking for not-callable. | Claudiu Popa | 2014-12-05 | 1 | -1/+46 |
| | | | | Closes issue #406. | ||||
* | Improve the reporting for dangerous-default-value. | Claudiu Popa | 2014-12-03 | 1 | -0/+12 |
| | | | | | | 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. | ||||
* | Convert some testcases to the new framework. | Torsten Marek | 2014-11-22 | 5 | -166/+0 |
| | |||||
* | Use the public method astroid.nodes.Class.is_subtype_of. | Torsten Marek | 2014-11-22 | 1 | -1/+1 |
| | |||||
* | Fix tests to work with the new astroid release. | Claudiu Popa | 2014-11-22 | 2 | -1/+2 |
| | |||||
* | Change default max-line-length to 100 rather than 80 | Sylvain Th?nault | 2014-11-19 | 1 | -4/+4 |
| | |||||
* | Add a new CLI option, '--py3k'. | Claudiu Popa | 2014-11-17 | 4 | -38/+0 |
| | | | | | | | | | This option will enable the Python 3 porting mode. This mode will emit warnings and errors for constructs invalid or removed in Python 3, helping the users of Pylint to port their projects. | ||||
* | Add 'long-suffix' error, emitted when encountering the long suffix | Claudiu Popa | 2014-11-15 | 1 | -1/+1 |
| | | | | | | | on numbers. This is sligthly different than lowercase-l-suffix, so it's a new error instead of overwriting that one. | ||||
* | Move raising-string to the python3 porting checker. | Claudiu Popa | 2014-11-15 | 1 | -1/+1 |
| | |||||
* | Port abstract-class-instantiated tests to the new test framework. | Claudiu Popa | 2014-11-15 | 3 | -165/+0 |
| | |||||
* | abstract-class-instantiated is also emitted for Python 2. | Claudiu Popa | 2014-11-15 | 1 | -0/+67 |
| | |||||
* | Warn when assigning to __metaclass__ in a class scope for Python 2. | Brett Cannon | 2014-10-31 | 1 | -1/+1 |
| | |||||
* | Warn when calling dict.iter*(), dict.view*() or .next() on any object. | Brett Cannon | 2014-10-31 | 1 | -1/+1 |
| | | | | These methods either do not exist in Python 3 or are never used. | ||||
* | Warn when an import is performed without | Brett Cannon | 2014-10-24 | 35 | -39/+37 |
| | | | | | | `from __future__ import absolute_import`. Part of issue #20 | ||||
* | 'too-many-public-methods' is reported only for methods defined in a class. | Claudiu Popa | 2014-10-21 | 7 | -6/+13 |
| | | | | Closes issue #248. | ||||
* | Emit an error when a print statement is used. | Brett Cannon | 2014-10-10 | 69 | -134/+126 |
| | | | | Part of issue #20. | ||||
* | Port more tests to the new test framework. | Claudiu Popa | 2014-10-06 | 5 | -251/+0 |
| | |||||
* | Introduce a Python 3 checker. | Brett Cannon | 2014-10-03 | 4 | -6/+6 |
| | | | | | | | Start with checking for built-ins that are not available in Python 3 and magic methods which have no equivalent. Part of issue #20. | ||||
* | Use three different files for unknown-encoding for major Python implementations. | Claudiu Popa | 2014-09-30 | 1 | -6/+0 |
| | | | | | | Python 2.7, 3.X and PyPy have different output when an unknown encoding is detected. This patch uses the new 'except_implementations' option from the functional test framework. | ||||
* | Remove flaky test, especially for PyPy. | Claudiu Popa | 2014-09-30 | 1 | -2/+1 |
| | |||||
* | Port new tests to the new test framework. | cpopa | 2014-09-17 | 2 | -122/+0 |
| | |||||
* | Don't emit 'unbalanced-tuple-unpacking' when the rhs of the assignment is a ↵ | cpopa | 2014-09-11 | 1 | -0/+9 |
| | | | | variable length argument. Closes issue #329. | ||||
* | Emit warning for .format() interpolation within logging function calls. | David Lindquist | 2014-08-19 | 1 | -0/+26 |
| | |||||
* | Implement confidence levels. | Torsten Marek | 2014-07-24 | 1 | -69/+0 |
| | | | | | | | - 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. | ||||
* | Fix test failures. | cpopa | 2014-08-17 | 2 | -2/+2 |
| | |||||
* | Detect calls of the parent's __init__, through a binded super() call. | cpopa | 2014-08-16 | 1 | -0/+14 |
| | |||||
* | Don't emit 'protected-access' if the attribute is accessed using a property ↵ | cpopa | 2014-08-14 | 1 | -0/+1 |
| | | | | defined at the class level. | ||||
* | Look in the metaclass, if defined, for members not found in the current ↵ | cpopa | 2014-08-14 | 1 | -32/+0 |
| | | | | class. Closes issue #306. | ||||
* | fixme regex handles comments without spaces after the hash. Closes issue #311. | cpopa | 2014-08-11 | 1 | -0/+1 |
| | |||||
* | Don't emit 'import-error' if an import was protected by a try-except, which ↵ | cpopa | 2014-08-08 | 1 | -4/+0 |
| | | | | excepted ImportError. | ||||
* | Don't emit 'attribute-defined-outside-init' if the attribute was set by a ↵ | cpopa | 2014-08-04 | 1 | -1/+33 |
| | | | | function call in a defining method. Closes issue #192. | ||||
* | Merged logilab/pylint into default | Claudiu Popa | 2014-07-31 | 5 | -148/+0 |
|\ | |||||
| * | Converted more test cases. | Torsten Marek | 2014-07-30 | 5 | -148/+0 |
| | | |||||
* | | Handle 'too-few-format-args' or 'too-many-format-args' for format strings ↵ | cpopa | 2014-07-31 | 1 | -88/+0 |
|/ | | | | with both named and positional fields. Closes issue #286. | ||||
* | Remove old testcase that has already been converted. | Torsten Marek | 2014-07-30 | 1 | -56/+0 |
| | |||||
* | Converted and merge test cases. | Torsten Marek | 2014-07-30 | 3 | -144/+0 |
| | |||||
* | Remove testcases only for Python < 2.7. | Torsten Marek | 2014-07-30 | 1 | -102/+0 |
| | |||||
* | Fix mixed line endings in 3.4-specific test case. | Torsten Marek | 2014-07-30 | 1 | -10/+10 |
| | |||||
* | Merged in godfryd/pylint/line-ending-checks (pull request #133) | Torsten Marek | 2014-07-30 | 4 | -125/+124 |
|\ | |||||
| * | merge | Michal Nowikowski | 2014-07-30 | 4 | -125/+124 |
| |\ | |||||
| | * | Merged default into line-ending-checks | Michal Nowikowski | 2014-07-29 | 4 | -125/+124 |
| | |\ | |||||
| | | * | Fixed tests for line endings checks. | Michal Nowikowski | 2014-07-28 | 1 | -33/+33 |
| | | | | |||||
| | | * | merge | Michal Nowikowski | 2014-07-28 | 13 | -435/+0 |
| | | |\ | |||||
| | | * | | Fixed tests for line endings checker. | Michal Nowikowski | 2014-07-26 | 3 | -92/+91 |
| | | | | | |||||
* | | | | | Merged in carlio/pylint (pull request #138) | Claudiu Popa | 2014-07-30 | 1 | -0/+25 |
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | Don't evaluate dangerous-default-value argument values | ||||
| * | | | | Merged logilab/pylint into default | carlio | 2014-07-29 | 1 | -0/+25 |
| |\ \ \ \ | | |/ / / | |/| | | |