summaryrefslogtreecommitdiff
path: root/checkers/classes.py
Commit message (Collapse)AuthorAgeFilesLines
...
* use .iter* version of dict methods when possibleSylvain Th?nault2012-09-191-2/+2
|
* Fix false positive W0231 for missing call to object.__init__. Closes #103656FELD Boris2012-09-191-4/+3
|
* Improve checking of metaclass methods's first arg. Closes #4014.FELD Boris2012-09-191-30/+68
| | | | | | * Add C0204 for __new__ method of metaclass. * Add valid-metaclass-classmethod-first-arg config option. * Move a test, improve it and fix another one.
* Refactor _check_protected_attribute_access by extracting independent part in ↵Sylvain Th?nault2012-06-071-10/+3
| | | | utils functions. Improve is_super_call docstring.
* Add checking for protected attribute assignement, closes #7394.Sylvain Th?nault2012-06-071-10/+50
| | | | | Remove checking for protected attribute access via super(). Move common code for checking protected attribute accessing in a new function _check_protected_attribute_access.
* Doesn't check that overriden method signature match if it's a private ↵Sylvain Th?nault2012-06-071-1/+4
| | | | method, closes #18772
* don't emit E0202 (attribute hiding a method) on @property methods. Closes #89092Sylvain Th?nault2012-03-151-1/+11
|
* better message for E0202 (closes #77237)Sylvain Th?nault2011-10-031-9/+7
| | | | | this also ease treatment: don't try to search parent frame (ie belonging class) which may be hazardous, simply use the assignment node.
* closes #74742: make allowed name for first argument of class method configurableSylvain Th?nault2011-09-071-3/+18
| | | | (patch by Google)
* avoid W0221 or W0222 when *args and **kwargs are in use. Patch by Charles Duffy.Sylvain Th?nault2011-01-061-0/+3
|
* performance: use 'active_msgs' attribute to disable function calls or the likeEmile Anclin2010-12-131-6/+16
|
* 223 : run python2.x compatible fixersEmile Anclin2010-11-151-1/+1
|
* use generic disable / enable methods and inline optionSylvain Th?nault2010-04-191-1/+1
|
* 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-231-1/+1
|
* nikola kramaric fix #5975, Abstract intermediate class not recognized as suchSylvain Th?nault2010-03-231-0/+14
|
* modify astng imports after astng 'rebuild' refactoringEmile Anclin2010-03-221-1/+1
|
* 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.
* include Dotan Barak spell fixes patchSylvain Th?nault2009-11-231-11/+11
|
* d-t-w, cleanupSylvain Th?nault2009-08-261-40/+39
|
* cleanupsylvain thenault2009-03-241-2/+0
|
* only skip E0203 when catched by an AttributeError or parentsylvain thenault2009-03-241-1/+1
|
* don't issue E0203 when in try: except AttributeErrorsylvain thenault2009-03-231-14/+11
|
* more complete list of special methods, also skip W0613sylvain thenault2009-03-231-9/+2
| | | | for python internal method
* use .fromlineno, not .linenoastng2sylvain thenault2009-03-191-1/+1
|
* reSylvain2009-03-171-1/+1
|
* CallFunc as now a func attribute, not nodeSylvain2009-03-171-1/+1
|
* fix import for new astng organisationSylvain2009-03-171-2/+3
|
* handle Del* and AugAssing situationsEmile Anclin2009-03-171-0/+4
|
* local_attr now return a list of nodesEmile Anclin2009-03-171-4/+4
|
* little correctionsEmile Anclin2009-03-101-4/+5
|
* we want the names, not AssName nodes : use new argnames methodEmile Anclin2009-03-101-7/+8
|
* a lot of small attribute corrections and moreEmile Anclin2009-03-091-2/+2
|
* replace argnames by args.argsEmile Anclin2009-03-091-8/+8
|
* no source_line() / last_source_line() are replaced by fromlineno / tolinenoEmile Anclin2009-03-091-1/+1
|
* some more astng2 support / attr modificationsEmile Anclin2009-03-061-3/+3
|
* cleanupSylvain Thenault2008-11-191-3/+1
|
* don't warn on access to instance._ (a bit ginco specific but...)Sylvain2007-04-161-2/+2
|
* fix potential bugSylvain2007-02-221-1/+3
|
* don't emit 'method could be a function' for special methodsSylvain2007-02-191-2/+10
|
* #2485 W0222 false positiveSylvain2007-02-191-6/+6
|
* #3123Sylvain2007-02-191-2/+3
|
* update for new astng apiSylvain2007-02-161-1/+1
|
* fix for a ginco crashsyt2006-11-231-0/+2
|
* fix W0233 bugsyt2006-11-211-3/+3
|
* fix spelling mistake pointed out by skip@pobox.comAlexandre Fayolle2006-05-271-13/+13
|
* check ChangeLogsyt2006-05-091-3/+6
|
* * new W0212 message for access to protected member from client codesyt2006-05-051-19/+34
| | | | | | * new W0212 message for access to protected member from client code * new W0105 message extracted from W0104 (statement seems to have no effect) with string
* forget the past.root2006-04-261-0/+481
forget the past.