summaryrefslogtreecommitdiff
path: root/checkers
Commit message (Collapse)AuthorAgeFilesLines
* proper update of report identifiers to avoid collision with message in the ↵Sylvain Thénault2010-05-253-10/+10
| | | | Refactoring category
* fix #28962: pylint crash with new options, due to missing stats data while ↵Sylvain Thénault2010-05-121-16/+20
| | | | writing the Statistics by types report
* lint fixesSylvain Thénault2010-05-121-2/+2
|
* cleanupSylvain Thénault2010-05-111-2/+2
|
* begin splitting the basic checkerSylvain Thénault2010-04-191-283/+328
|
* cleanup, d-t-w, fix remaining [en|dis] method callSylvain Thénault2010-04-193-41/+43
|
* use generic disable / enable methods and inline optionSylvain Thénault2010-04-194-7/+7
|
* d-t-wSylvain Thénault2010-04-161-10/+10
|
* refactor messages and checker handlingSylvain Thénault2010-04-161-17/+1
| | | | | | | | | | | | | | | | * new ast walker, built at registration time * properly handle dependencies between checkers instead of priority based order * only run checker necessary according to activated message * much more simple command line: [en|dis]able-msg, [en|dis]able-msg-cat and [en|dis]able-report superseeded by [en|dis]able options -> we should split current checkers into simpler checker with the same name, and proper dependencies when needed
* set option level to configure --help / --long[-long]-help with lgc 0.50Sylvain Thénault2010-04-161-0/+1
|
* fix #20067: pylint crash with AttributeErrorEmile Anclin2010-04-151-0/+3
| | | | in a with statement without 'as', node.vars is None
* don't print 'hopp'Emile Anclin2010-04-061-1/+0
|
* apply tahiti team doc patchSylvain Thénault2010-04-021-0/+1
|
* apply Alexander Artemenko patch for non-ascii caractersEmile Anclin2010-03-301-0/+20
| | | | This fixes #4683: Non-ASCII characters count double if utf8
* apply Donovan Lee Wanhoy patch: don't warn on missing doc string for child ↵Emile Anclin2010-03-291-1/+12
| | | | classes.
* Sarah Strong patch for #4595: don't warn on trailing comma in dict, list and ↵Emile Anclin2010-03-291-1/+1
| | | | tuple definition
* apply Scott Pilkey patch: fix #9018: when using defining-attr-method order ↵Emile Anclin2010-03-241-5/+12
| | | | matters
* copyright update : date up 2010Emile Anclin2010-03-2311-14/+14
|
* we may have name node with fromlineno to None for astng built from ↵Sylvain Thénault2010-03-231-3/+5
| | | | C-compiled modules
* nikola kramaric fix #5975, Abstract intermediate class not recognized as suchSylvain Thénault2010-03-231-0/+14
|
* implement #18860, new W0199 message on assert (a, b) by Fletcher JohnsonSylvain Thénault2010-03-231-0/+10
|
* mergeEmile Anclin2010-03-221-0/+7
|\
| * test and fix crash on global w/ 'virtual' nodes such as __file__, ↵Sylvain Thénault2010-03-221-0/+7
| | | | | | | | __module__, etc.
* | modify astng imports after astng 'rebuild' refactoringEmile Anclin2010-03-226-8/+6
|/
* 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 and test case for W0233 false positive: if the same superclassMaarten ter Huurne2010-03-021-3/+5
| | | | | constructor was called twice, the second time was reported as a call to a non-existing superclass constructor.
* 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.
* implement #9776, 'W0150' break or return statement in finally block may ↵Alain Leufroy2010-02-231-4/+45
| | | | | | | | | | | | swallow exception. https://www.logilab.net/elo/ticket/9776 * add '_check_not_in_finally' to check if a node is in a finally clauses while given parent types were not founded before * add the checks in 'visite_return' and 'visite_break' * add the flag '_tryfinallys' to prevent searching about try...finally bloc if we're outside one.
* mergeSylvain Thénault2010-02-231-4/+9
|\
| * implements #9982: specific error message when raising NotImplementedAlain Leufroy2010-02-171-4/+9
| |
* | patch for #5977. Yields do not increment the counter of returns.Sylvain Thénault2010-02-231-7/+1
| | | | | | | | * remove yields counting
* | implement #5564: ignore function / methode arguments with leading "_".Sylvain Thénault2010-02-231-4/+22
|/ | | | | | | * "ignored-argument-names" have been added to options in order to set the regexp that recognizes the ignored arguments. * func_too_many_locals_arguments.(py, txt) have been added to test "too many arguments" and "too many local variables" features.
* fix bug discovered by Diez B. Roggisch: we should access to the potentially ↵Sylvain Thénault2010-02-031-1/+1
| | | | extended list, not the original one
* Add a checker verifying string formatting (James Lingard's patch) + testsCharles Hebert2009-11-271-0/+239
|
* mergeSylvain Thénault2009-11-251-1/+4
|\
| * python2.4 compatibility for typecheckerPierre-Yves David2009-11-251-1/+4
| |
* | fix #18862: E0601 false positive with lambda functionsSylvain Thénault2009-11-251-1/+2
|/
* use display_type defined as an astng methodSylvain Thénault2009-11-252-10/+2
|
* Merge two ++ and -- messages in a single onePierre-Yves David2009-11-251-9/+4
|
* applied James Lingar patch for ++ operator and duplicate dict key. add ↵Pierre-Yves David2009-11-251-2/+29
| | | | management of -- as welle
* Add a checker verifying that the arguments passed to aJames Lingard2009-11-251-1/+148
| | | | function call match the function's formal parameters
* mergeSylvain Thénault2009-11-231-1/+1
|\
| * missing __delete__ methodSylvain Thénault2009-10-211-1/+1
| |
* | include Dotan Barak spell fixes patchSylvain Thénault2009-11-2310-47/+47
|/
* test and fix for #9215Sylvain Thénault2009-08-271-1/+1
|
* d-t-wSylvain Thénault2009-08-271-26/+26
|
* d-t-wSylvain Thénault2009-08-271-7/+7
|
* d-t-wSylvain Thénault2009-08-272-54/+54
|
* reindentSylvain Thénault2009-08-271-72/+65
|
* d-t-w, cleanupSylvain Thénault2009-08-261-40/+39
|