Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | cleanup | sylvain thenault | 2009-03-23 | 1 | -2/+3 |
| | |||||
* | more complete list of special methods, also skip W0613 | sylvain thenault | 2009-03-23 | 1 | -5/+6 |
| | | | | for python internal method | ||||
* | fix #8687, W0613 false positive on inner function | sylvain thenault | 2009-03-23 | 1 | -2/+2 |
| | |||||
* | test and fix W0612 false positive | sylvain thenault | 2009-03-18 | 1 | -0/+2 |
| | |||||
* | fix module special attributes checking | sylvain thenault | 2009-03-18 | 1 | -1/+1 |
| | |||||
* | give stmt node, not function node,~ to get correct line number | sylvain thenault | 2009-03-18 | 1 | -1/+1 |
| | |||||
* | oops | Sylvain | 2009-03-17 | 1 | -1/+1 |
| | |||||
* | simply test using isinstance... | Sylvain | 2009-03-17 | 1 | -2/+1 |
| | |||||
* | fix checking of module attributes accessible in module scope | Sylvain | 2009-03-17 | 1 | -1/+1 |
| | |||||
* | fix import for new astng organisation | Sylvain | 2009-03-17 | 1 | -19/+4 |
| | |||||
* | handle Del* and AugAssing situations | Emile Anclin | 2009-03-17 | 1 | -5/+4 |
| | |||||
* | fromlineno *must not be zero* either | Emile Anclin | 2009-03-17 | 1 | -1/+1 |
| | |||||
* | import are_exclusive from astng where it's defined | Emile Anclin | 2009-03-17 | 1 | -1/+2 |
| |