summaryrefslogtreecommitdiff
path: root/checkers/variables.py
Commit message (Collapse)AuthorAgeFilesLines
...
* remove code that's out commented since rev 0Emile Anclin2010-12-061-25/+0
|
* 223 : run python2.x compatible fixersEmile Anclin2010-11-151-1/+1
|
* cleanup; remove a useless "else" indentationEmile Anclin2010-11-041-35/+34
|
* py3k: list comprehension is now a scoped nodeEmile Anclin2010-11-041-0/+18
|
* help / man: more explicit on dummy variable regexEmile Anclin2010-10-251-2/+2
|
* update VariablesChecker to take into account the nested scopes of dictionary ↵Daniel Harding2010-10-091-3/+25
| | | | and set comprehensions
* remove useless lgc.compat importsEmile Anclin2010-10-061-1/+0
|
* copyright update : date up 2010Emile Anclin2010-03-231-1/+1
|
* we may have name node with fromlineno to None for astng built from ↵Sylvain Th?nault2010-03-231-3/+5
| | | | C-compiled modules
* mergeEmile Anclin2010-03-221-2/+1
|\
| * modify astng imports after astng 'rebuild' refactoringEmile Anclin2010-03-221-2/+1
| |
* | test and fix crash on global w/ 'virtual' nodes such as __file__, ↵Sylvain Th?nault2010-03-221-0/+7
|/ | | | __module__, etc.
* applied Colin Moris patch closing #9263: no W0613 for __init__ (method does ↵Sylvain Th?nault2010-03-041-1/+1
| | | | not use all of its arguments)
* fix #20991: class scope definitions ignored in a genexprAdrien Di Mascio2010-02-251-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 functionsSylvain Th?nault2009-11-251-1/+2
|
* include Dotan Barak spell fixes patchSylvain Th?nault2009-11-231-9/+9
|
* d-t-wSylvain Th?nault2009-08-271-26/+26
|
* do not print Redefining builtin for additional builtinssylvain thenault2009-04-081-8/+7
|
* add test for #5719, fixed in astngsylvain thenault2009-03-241-1/+1
|
* only skip E0203 when catched by an AttributeError or parentsylvain thenault2009-03-241-3/+0
|
* only skip E0602 when catched by a NameError or parentsylvain thenault2009-03-241-2/+2
|
* cleanupsylvain thenault2009-03-231-2/+3
|
* more complete list of special methods, also skip W0613sylvain thenault2009-03-231-5/+6
| | | | for python internal method
* fix #8687, W0613 false positive on inner functionsylvain thenault2009-03-231-2/+2
|
* test and fix W0612 false positivesylvain thenault2009-03-181-0/+2
|
* fix module special attributes checkingsylvain thenault2009-03-181-1/+1
|
* give stmt node, not function node,~ to get correct line numbersylvain thenault2009-03-181-1/+1
|
* oopsSylvain2009-03-171-1/+1
|
* simply test using isinstance...Sylvain2009-03-171-2/+1
|
* fix checking of module attributes accessible in module scopeSylvain2009-03-171-1/+1
|
* fix import for new astng organisationSylvain2009-03-171-19/+4
|
* handle Del* and AugAssing situationsEmile Anclin2009-03-171-5/+4
|
* fromlineno *must not be zero* eitherEmile Anclin2009-03-171-1/+1
|
* import are_exclusive from astng where it's definedEmile Anclin2009-03-171-1/+2
|
* fix E0601/E0602 alternative and testsEmile Anclin2009-03-161-3/+5
|
* stmt.fromlineno can be 0 for names defined on module levelEmile Anclin2009-03-161-1/+2
|
* handle AssName / DelName to enhance detection of unused/undefined variable ↵sylvain thenault2009-03-131-6/+19
| | | | on aug and del assigment
* cleanup & simplifyEmile Anclin2009-03-111-10/+12
|
* fix default value Name nodesEmile Anclin2009-03-101-1/+2
|
* we want the names, not AssName nodes : use new argnames methodEmile Anclin2009-03-101-4/+4
|
* replace argnames by args.argsEmile Anclin2009-03-091-5/+5
|
* no source_line() / last_source_line() are replaced by fromlineno / tolinenoEmile Anclin2009-03-091-1/+1
|
* astng2 supportsylvain thenault2009-03-061-1/+2
|
* Decorators of methods should see the class namespaceMads Kiilerich2009-01-181-4/+4
| | | | | | | | - just like default values does but the body doesn't. Fixes https://www.logilab.net/elo/ticket/3711 - bug finding decorator arguments https://www.logilab.net/elo/ticket/5626 - name resolution bug inside classes
* fix #6949: as suggested by m. kiilerich, we should remove __dict__ node ↵sylvain thenault2009-01-161-1/+8
| | | | added by astng to avoid E0601/E0602 false negative
* typosylvain thenault2009-01-151-1/+1
|
* fix W0631 false positive reported by Paul HachmannSylvain Thenault2008-12-161-2/+7
|
* * include a modified version of Maarten ter Huurne patch of avoid W0613Sylvain Thenault2008-12-031-10/+35
| | | | warning on arguments from overridden method
* NameErrorAdrien Di Mascio2007-08-211-1/+1
|
* mergeAdrien Di Mascio2007-08-161-7/+1
|\