summaryrefslogtreecommitdiff
path: root/checkers
Commit message (Collapse)AuthorAgeFilesLines
* Change basestring to six.string_typesBrett Cannon2014-08-294-6/+12
|
* Fix a incorrect use of sys.maxint by using sys.maxsizeBrett Cannon2014-08-291-1/+1
|
* Wrap dict.items() et. al. in list()Brett Cannon2014-08-291-1/+2
|
* Don't use itertools.izipBrett Cannon2014-08-291-2/+3
|
* Don't call unicode() directlyBrett Cannon2014-08-291-1/+2
|
* Modernize to the point of working for Python 2.7 stillBrett Cannon2014-08-2912-56/+67
|
* Fix a false positive with 'too-many-format-args', when the format string ↵cpopa2014-08-271-8/+2
| | | | contains mixed attribute access arguments and manual fields. Closes issue #322.
* Move fix code into a separate private function, _fix_dot_import.cpopa2014-08-241-30/+33
|
* Merged logilab/pylint into defaultClaudiu Popa2014-08-231-1/+2
|\
| * Fix a crash which ocurred while checking for 'method-hidden', when the ↵cpopa2014-08-231-1/+2
| | | | | | | | parent frame was something different than a function.
* | Notes (TODO, XXX etc) are now searched for using a simple `in` before ↵carl2014-08-211-0/+11
|/ | | | resorting to the regular expression, in order to avoid using the regexp on every line and to prevent a pathological problem for extremely long lines (50k+ characters)
* Set the maxversion to 3.5 for boolean-datetime.cpopa2014-08-191-1/+2
|
* Add a new warning, 'boolean-datetime', emitted when an instance of ↵cpopa2014-08-191-0/+37
| | | | 'datetime.time' is used in a boolean context. Closes issue #239.
* Some work on making pylint work on Python 3 without 2to3.Torsten Marek2014-08-161-1/+1
|
* Implement confidence levels.Torsten Marek2014-07-247-46/+95
| | | | | | | - 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 Marek2014-07-241-10/+34
| | | | majority-style-wins.
* Check if the instance inherits from a standard exception before unproxying.cpopa2014-08-181-1/+1
|
* Unproxy the infered instances.cpopa2014-08-181-0/+2
|
* Backout changeset.cpopa2014-08-181-1/+0
|
* Backout changeset.cpopa2014-08-181-1/+1
|
* Backed out changeset ff26eefc7e0ccpopa2014-08-181-1/+1
|
* Debug.cpopa2014-08-181-1/+1
|
* Uh, drone.io.cpopa2014-08-181-1/+1
|
* Add debug code for drone.io.cpopa2014-08-181-0/+1
|
* Emit 'catching-non-exception' for non-class nodes. Closes issue #303.cpopa2014-08-181-6/+57
|
* Revert change from 3b748b4: emit old-style-classes only for classes without ↵cpopa2014-08-181-3/+4
| | | | bases and without explicitly defined metaclasses.
* Check that a class has an explicitly defined metaclass before emitting ↵cpopa2014-08-171-5/+5
| | | | | | | 'old-style-class' for Python 2. This can catch metaclasses defined at module level, using `__metaclass__ = ...` syntax, which transforms all old style classes to newstyle. Also, look for the .newstyle attribute instead of bases.
* Detect calls of the parent's __init__, through a binded super() call.cpopa2014-08-161-0/+11
|
* Don't emit 'protected-access' if the attribute is accessed using a property ↵cpopa2014-08-141-1/+18
| | | | defined at the class level.
* Look in the metaclass, if defined, for members not found in the current ↵cpopa2014-08-141-0/+14
| | | | class. Closes issue #306.
* Don't emit 'unused-import' when a special object is imported (__all__, ↵cpopa2014-08-111-0/+12
| | | | __doc__ etc.). Closes issue #309.
* fixme regex handles comments without spaces after the hash. Closes issue #311.cpopa2014-08-111-1/+1
|
* Fix a false positive with 'too-few-format-args', when the format strings ↵cpopa2014-08-111-3/+3
| | | | contains duplicate manual position arguments. Closes issue #310.
* Don't count branches from nested functions.cpopa2014-08-111-16/+12
|
* Don't emit 'invalid-name' when assigning a name in an ImportError handler. ↵cpopa2014-08-093-23/+56
| | | | Closes issue #302.
* Fix an 'unused-import' false positive, when the error was emitted for all ↵cpopa2014-08-091-5/+13
| | | | the members imported with 'from import' form. Closes issue #304.
* Check only if the infered node is a class.cpopa2014-08-081-4/+2
|
* Don't emit 'import-error' if an import was protected by a try-except, which ↵cpopa2014-08-081-2/+32
| | | | excepted ImportError.
* Revert change.cpopa2014-08-081-1/+1
|
* Cleanup.cpopa2014-08-081-9/+14
|
* Merge.cpopa2014-08-081-9/+49
|\
| * mergefix-293Michal Nowikowski2014-08-061-9/+49
| |\
| | * Fixed checking a list of imported names from a module in unused-import case.Michal Nowikowski2014-08-061-4/+28
| | |
| | * Improved comments.Michal Nowikowski2014-08-041-2/+4
| | |
| | * Fix for wired case with import from stmt.Michal Nowikowski2014-08-041-1/+1
| | |
| | * mergeMichal Nowikowski2014-08-041-9/+23
| | |\
| | | * Review fixes.Michal Nowikowski2014-08-041-7/+13
| | | |
| | | * mergeMichal Nowikowski2014-08-031-0/+217
| | | |\
| | | * | Fixed preparing unused-import message.Michal Nowikowski2014-08-021-1/+1
| | | | |
| | | * | Improved messages text for unused imports.Michal Nowikowski2014-08-021-3/+11
| | | | |