Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test cases for good cases, check the targets before the inference.unpacking2 | cpopa | 2013-07-25 | 1 | -3/+4 |
| | |||||
* | Prefer the symbolic name. | cpopa | 2013-07-24 | 1 | -1/+1 |
| | |||||
* | Infer the value before using it, accept astroid.List as well. | cpopa | 2013-07-24 | 1 | -3/+8 |
| | |||||
* | Prefer the symbolic message. | cpopa | 2013-07-21 | 1 | -1/+1 |
| | |||||
* | Add support for unbalanced tuple unpacking check. | cpopa | 2013-07-21 | 1 | -0/+26 |
| | |||||
* | [variables checker] drop check_messages that trigger false positive when ↵ | Sylvain Th?nault | 2013-07-08 | 1 | -3/+0 |
| | | | | other messages from this checker are disabled (eg running --errors-only) | ||||
* | Resolve conflict and take feed-back into account for PR #34 | Anthony Truchet | 2013-06-19 | 1 | -1/+6 |
|\ | |||||
| * | Add @check_messages(...) annotations to help not to spend time on unneeded ↵ | Anthony Truchet | 2013-06-18 | 1 | -1/+7 |
|/ | | | | | | | | checks. We only add such annotations is reasonably simple cases. Some visit methods are quite involved and build a checker's state ; such methods are skipped in the first phase. | ||||
* | Do not warn about redefinitions of dummy variables. | Torsten Marek | 2013-06-18 | 1 | -1/+3 |
| | |||||
* | Do not treat all variables starting with _ as dummy variables, only _. | Torsten Marek | 2013-06-18 | 1 | -1/+1 |
| | |||||
* | astng has been renamed astroid | David Douard | 2013-06-17 | 1 | -30/+30 |
| | |||||
* | use .fromlineno instead of .lineno (which is not reliable) | Sylvain Th?nault | 2013-02-25 | 1 | -2/+2 |
| | |||||
* | Emit a warning if __all__ contains non-string objects. | tmarek | 2013-01-08 | 1 | -1/+5 |
| | | | | Closes #112728 | ||||
* | Fixed a couple of bugs in the __all__ handling and added a newstable | tmarek | 2013-01-08 | 1 | -8/+16 |
| | | | | | | warning about non-string objects in __all__. Closes #112698 | ||||
* | lint fixes | Sylvain Th?nault | 2012-09-19 | 1 | -3/+3 |
| | |||||
* | Closes #104572: symbolic warning names in output (by Martin Pool) | Martin Pool | 2012-09-19 | 1 | -0/+16 |
| | | | | triggered whatever the format using a command line option | ||||
* | drop useless attribute from variables checker | Sylvain Th?nault | 2012-09-19 | 1 | -5/+0 |
| | |||||
* | use .iter* version of dict methods when possible | Sylvain Th?nault | 2012-09-19 | 1 | -2/+2 |
| | |||||
* | Add test and code for handling __all__ with pylint. Closes #4685. | FELD Boris | 2012-09-19 | 1 | -2/+16 |
| | |||||
* | Closes #93591: Correctly emit W0623 on multiple assignment of unpackable ↵ | tmarek | 2012-06-07 | 1 | -5/+7 |
| | | | | | | | | | | | | | 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. | ||||
* | Detect assignments to a loop variable in the else branch of a for statement. | Torsten Marek | 2011-11-17 | 1 | -1/+8 |
| | | | | Closes: #9188,#4024 | ||||
* | Fix for #81078: Warn if names in exception handlers clobber overwrite ↵ | Sylvain Th?nault | 2011-10-24 | 1 | -3/+12 |
| | | | | existing names | ||||
* | closes #74747: don't crash when lookup up a special attribute in class scope | Sylvain Th?nault | 2011-09-07 | 1 | -2/+9 |
| | | | | (patch by google) | ||||
* | closes #74087: handle case where inference of a module return YES | Sylvain Th?nault | 2011-09-07 | 1 | -1/+3 |
| | | | | | | | | | | | | | This avoid some cases of "TypeError: '_Yes' object does not support indexing" when conditionally assigning a nonexisting module to intermediate modules in a dotted name. This is only a cosmetic fix to avoid the crash, the actual fix probably needs a lot of work on the inference module to support conditional assignment and inspection of several places of assignment, rather than just the latest one. Probably not worth it, either. patch by Google | ||||
* | closes #70495: absolute imports fail depending on module path (patch by ↵ | Sylvain Th?nault | 2011-07-08 | 1 | -1/+2 |
| | | | | Jacek Konieczny) | ||||
* | performance: use 'active_msgs' attribute to disable function calls or the like | Emile Anclin | 2010-12-13 | 1 | -2/+10 |
| | |||||
* | pylint itself: remove last pylint error message | Emile Anclin | 2010-12-13 | 1 | -3/+4 |
| | |||||
* | cleanup: remove useless KeyboardInterrupt catch and have a print for | Emile Anclin | 2010-12-09 | 1 | -4/+5 |
| | | | | unhandled exception | ||||
* | messages: decorate visit and leave methods with check_messages | Emile Anclin | 2010-12-09 | 1 | -3/+5 |
| | | | | refactor checker/bases.py while adding 'check_messages' | ||||
* | remove code that's out commented since rev 0 | Emile Anclin | 2010-12-06 | 1 | -25/+0 |
| | |||||
* | 223 : run python2.x compatible fixers | Emile Anclin | 2010-11-15 | 1 | -1/+1 |
| | |||||
* | cleanup; remove a useless "else" indentation | Emile Anclin | 2010-11-04 | 1 | -35/+34 |
| | |||||
* | py3k: list comprehension is now a scoped node | Emile Anclin | 2010-11-04 | 1 | -0/+18 |
| | |||||
* | help / man: more explicit on dummy variable regex | Emile Anclin | 2010-10-25 | 1 | -2/+2 |
| | |||||
* | update VariablesChecker to take into account the nested scopes of dictionary ↵ | Daniel Harding | 2010-10-09 | 1 | -3/+25 |
| | | | | and set comprehensions | ||||
* | remove useless lgc.compat imports | Emile Anclin | 2010-10-06 | 1 | -1/+0 |
| | |||||
* | copyright update : date up 2010 | Emile Anclin | 2010-03-23 | 1 | -1/+1 |
| | |||||
* | we may have name node with fromlineno to None for astng built from ↵ | Sylvain Th?nault | 2010-03-23 | 1 | -3/+5 |
| | | | | C-compiled modules | ||||
* | merge | Emile Anclin | 2010-03-22 | 1 | -2/+1 |
|\ | |||||
| * | modify astng imports after astng 'rebuild' refactoring | Emile Anclin | 2010-03-22 | 1 | -2/+1 |
| | | |||||
* | | test and fix crash on global w/ 'virtual' nodes such as __file__, ↵ | Sylvain Th?nault | 2010-03-22 | 1 | -0/+7 |
|/ | | | | __module__, etc. | ||||
* | applied Colin Moris patch closing #9263: no W0613 for __init__ (method does ↵ | Sylvain Th?nault | 2010-03-04 | 1 | -1/+1 |
| | | | | not use all of its arguments) | ||||
* | fix #20991: class scope definitions ignored in a genexpr | Adrien Di Mascio | 2010-02-25 | 1 | -2/+6 |
| | | | | | | | | When checking for variable existence in a method definition, pylint simply skips the class scope in the scope consumer chain. This technique works fine with classic methods but doesn't work when analyzing genexprs defined at class level : for genexprs, we do want the class scope to be considered. | ||||
* | fix #18862: E0601 false positive with lambda functions | Sylvain Th?nault | 2009-11-25 | 1 | -1/+2 |
| | |||||
* | include Dotan Barak spell fixes patch | Sylvain Th?nault | 2009-11-23 | 1 | -9/+9 |
| | |||||
* | d-t-w | Sylvain Th?nault | 2009-08-27 | 1 | -26/+26 |
| | |||||
* | do not print Redefining builtin for additional builtins | sylvain thenault | 2009-04-08 | 1 | -8/+7 |
| | |||||
* | add test for #5719, fixed in astng | sylvain thenault | 2009-03-24 | 1 | -1/+1 |
| | |||||
* | only skip E0203 when catched by an AttributeError or parent | sylvain thenault | 2009-03-24 | 1 | -3/+0 |
| | |||||
* | only skip E0602 when catched by a NameError or parent | sylvain thenault | 2009-03-24 | 1 | -2/+2 |
| |