Ekaterina Tuzova
1fa5b3bfd6
added Method may be static or a function (+ quickfix)
2013-03-26 15:48:16 +04:00
Ekaterina Tuzova
097ed48b0a
fixed PY-9263 Move attribute to init method: add super class call when moving to not yet existing init
...
reused AddFieldQuickFix logic
2013-03-25 15:58:12 +04:00
Ekaterina Tuzova
9750faf20d
fixed PY-9253 Broken "add field to class" adds the field to the instance instead.
...
moved tests to the separate testCase
2013-03-22 18:13:13 +04:00
Ekaterina Tuzova
00eafcb011
added tests for PyUtil.addElementToStatementList
2013-03-22 15:44:17 +04:00
Ekaterina Tuzova
eafde14771
implemented W0232: Class has no __init__ method
...
extracted logic for "add element to statement list" into PyUtil
reused in PyMoveAttributeToInitQuickFix and PyClassHasNoInitInspection
reused AddMethodQuickFix in PyClassHasNoInitInspection
2013-03-22 14:13:18 +04:00
Ekaterina Tuzova
51ca2375f2
added quick fix for the PyAttributeOutsideInitInspection
2013-03-21 17:12:12 +04:00