Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move all package files to a pylint package. | Ionel Cristian Maries | 2015-02-14 | 1 | -564/+0 |
| | |||||
* | Suppress ResolveErrors from Class.mro in unimplemented_abstract_methods. | Claudiu Popa | 2015-01-15 | 1 | -0/+4 |
| | |||||
* | Use a mro traversal for finding abstract methods. Closes issue #415. | Claudiu Popa | 2014-12-21 | 1 | -0/+59 |
| | | | | | | | | | 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. | ||||
* | pylint pylint | Sylvain Th?nault | 2014-11-19 | 1 | -4/+4 |
| | |||||
* | Add decorated_with_property function to utils. | Claudiu Popa | 2014-10-15 | 1 | -0/+20 |
| | | | | | This is extracted from typechecker, from the property calling detection code. | ||||
* | Use safe_infer in has_known_bases. | cpopa | 2014-09-12 | 1 | -12/+8 |
| | | | | | | | Using safe_infer simplifies the code, by removing the need for catching InferenceError and at the same time, increases the level of confidence, because ``next(base.infer())`` does not take in account the fact that a base can be infered to multiple results. | ||||
* | Shorten a long line. | cpopa | 2014-09-12 | 1 | -1/+3 |
| | |||||
* | Modernize to the point of working for Python 2.7 still | Brett Cannon | 2014-08-29 | 1 | -3/+3 |
| | |||||
* | Some work on making pylint work on Python 3 without 2to3. | Torsten Marek | 2014-08-16 | 1 | -1/+1 |
| | |||||
* | Implement confidence levels. | Torsten Marek | 2014-07-24 | 1 | -0/+19 |
| | | | | | | | - 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. | ||||
* | Don't emit 'invalid-name' when assigning a name in an ImportError handler. ↵ | cpopa | 2014-08-09 | 1 | -0/+27 |
| | | | | Closes issue #302. | ||||
* | Move inherit_from_std_ex to checkers/utils.py, so that it can be used in ↵ | cpopa | 2014-08-08 | 1 | -0/+16 |
| | | | | other checkers as well. | ||||
* | linting pylint | Sylvain Th?nault | 2014-07-25 | 1 | -15/+14 |
| | |||||
* | Merge with default. | cpopa | 2014-06-23 | 1 | -1/+7 |
|\ | |||||
| * | Don't warn with 'bad-format-character' when encountering the 'a' format on ↵ | cpopa | 2014-06-16 | 1 | -1/+7 |
| | | | | | | | | Python 3. | ||||
* | | Merge with default. | cpopa | 2014-06-07 | 1 | -1/+1 |
|\ \ | |/ |/| | |||||
| * | merge with default | cpopa | 2013-12-19 | 1 | -3/+8 |
| |\ | |||||
| * | | Various changes to format checker. | cpopa | 2013-10-03 | 1 | -33/+0 |
| | | | |||||
| * | | Add basic checks for Python 3 format strings. | cpopa | 2013-09-22 | 1 | -1/+34 |
| | | | |||||
* | | | except as replaced by commas, one with_statement future import added and ↵ | Ricardo Gemignani | 2014-03-06 | 1 | -1/+1 |
| | | | | | | | | | | | | StringFormat used to replace string.format when python < 2.6 | ||||
* | | | Updated FSF address. | Arun Persaud | 2014-02-23 | 1 | -1/+1 |
| | | | |||||
* | | | Fix builtin module name for Python 3. | cpopa | 2014-01-09 | 1 | -1/+1 |
| | | | |||||
* | | | Various fixes for #128 | cpopa | 2014-01-09 | 1 | -1/+1 |
| | | | |||||
* | | | Fix bitbucket #126, don't crash when encountering an AssAttr node in ↵ | cpopa | 2014-01-03 | 1 | -2/+4 |
| | | | | | | | | | | | | is_defined_before. | ||||
* | | | various pylint fixes | Sylvain Th?nault | 2013-12-22 | 1 | -28/+29 |
| |/ |/| | |||||
* | | Fix a potential crash in the redefine-in-handler warning if the | Torsten Marek | 2013-11-05 | 1 | -1/+1 |
| | | | | | | | | redefined name is a nested getattr node. | ||||
* | | fix false used-before-assignment for except handler defined identifier used ↵ | Sylvain Th?nault | 2013-11-21 | 1 | -0/+5 |
| | | | | | | | | on the same line (closes issue #111) | ||||
* | | Allow get_argument_from_call to retrieve the first positional argument. | cpopa | 2013-10-08 | 1 | -2/+2 |
|/ | |||||
* | Handle new astroid With nodes | Julien Cristau | 2013-06-20 | 1 | -2/+4 |
| | | | | 'expr' and 'vars' have been replaced by an 'items' list. | ||||
* | Add bad-open-mode warning for invalid open modes specified on open/file calls. | Torsten Marek | 2013-06-19 | 1 | -0/+28 |
| | |||||
* | Add utility function is_builtin_object. | Torsten Marek | 2013-06-19 | 1 | -0/+4 |
| | |||||
* | Do not flag names in nested with statements on the same line as undefined. | Torsten Marek | 2013-06-17 | 1 | -5/+3 |
| | |||||
* | astng has been renamed astroid | David Douard | 2013-06-17 | 1 | -34/+34 |
| | |||||
* | move string literal checker from format.py to strings.py | Sylvain Th?nault | 2013-03-29 | 1 | -0/+3 |
| | |||||
* | use .fromlineno instead of .lineno (which is not reliable) | Sylvain Th?nault | 2013-02-25 | 1 | -2/+2 |
| | |||||
* | quick fix: use %s rather than %s will avoid crash if lineno is None. See ↵ | Sylvain Th?nault | 2013-02-25 | 1 | -1/+1 |
| | | | | https://bitbucket.org/logilab/pylint/pull-request/6/fixed-a-bug-in-clobber_in_except-causing | ||||
* | Fix checkers.utils for other implementations (use of __builtins__). Closes ↵ | FELD Boris | 2012-07-09 | 1 | -3/+3 |
| | | | | #99139. Closes #89838. Theses fixes need fixes on logilab-astng and logilab-common | ||||
* | Closes #93591: Correctly emit W0623 on multiple assignment of unpackable ↵ | tmarek | 2012-06-07 | 1 | -3/+18 |
| | | | | | | | | | | | | | exceptions eg for code like try: ... except AnyException as (here, there): ... Instead of warning about redefining tuple, recurse into the tuple and check all names. | ||||
* | Refactor _check_protected_attribute_access by extracting independent part in ↵ | Sylvain Th?nault | 2012-06-07 | 1 | -0/+28 |
| | | | | utils functions. Improve is_super_call docstring. | ||||
* | Doesn't check that overriden method signature match if it's a private ↵ | Sylvain Th?nault | 2012-06-07 | 1 | -2/+10 |
| | | | | method, closes #18772 | ||||
* | Fix the variables check to not emit false positives for E0602 on ↵ | Torsten Marek | 2012-03-15 | 1 | -1/+5 |
| | | | | | | {list,generator} comprehension loop variables inside decorators. Closes #77982 | ||||
* | InferenceError may be raised when running the next iteration, but we don't ↵ | Sylvain Th?nault | 2012-02-23 | 1 | -0/+2 |
| | | | | want it to propagate | ||||
* | Update W0623 to not trigger on code like: | Sylvain Th?nault | 2011-10-24 | 1 | -1/+3 |
| | | | | | | | | | | | | | | try: ... except IOError, e: ... ... try: ... except OSError, e: ... | ||||
* | Fix for #81078: Warn if names in exception handlers clobber overwrite ↵ | Sylvain Th?nault | 2011-10-24 | 1 | -0/+25 |
| | | | | existing names | ||||
* | closes #69993: Additional string format checks for logging module | Sylvain Th?nault | 2011-07-08 | 1 | -0/+76 |
| | |||||
* | messages: add "check_messages" decorator to store messages | Emile Anclin | 2010-12-09 | 1 | -0/+9 |
| | | | | | | refactor PyLintASTWalker.add_checker to check the stored method's messages; in PyLintASTWalker.add_checker, we only disable methods that has been decorated and have no activated message. | ||||
* | cleanup: we don't support 2.3 anymore | Emile Anclin | 2010-12-02 | 1 | -6/+1 |
| | |||||
* | remove more 2.4 compat | Emile Anclin | 2010-11-15 | 1 | -1/+1 |
| | |||||
* | py3k: fix __builtin__ vs builtins | Emile Anclin | 2010-10-28 | 1 | -4/+5 |
| | |||||
* | add initial support for set and list comprehensions | Daniel Harding | 2010-10-07 | 1 | -8/+7 |
| |