src/eric7/QScintilla/DocstringGenerator/__init__.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9221
bf71ee032bb4
child 9653
e67609152c5e
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
22 if editor.isPyFile() or editor.getFileType() in ( 22 if editor.isPyFile() or editor.getFileType() in (
23 "Python", 23 "Python",
24 "Python3", 24 "Python3",
25 "MicroPython", 25 "MicroPython",
26 ): 26 ):
27 from .PyDocstringGenerator import PyDocstringGenerator 27 from .PyDocstringGenerator import ( # __IGNORE_WARNING_I101__
28 PyDocstringGenerator,
29 )
28 30
29 return PyDocstringGenerator(editor) 31 return PyDocstringGenerator(editor)
30 else: 32 else:
31 from .BaseDocstringGenerator import BaseDocstringGenerator 33 from .BaseDocstringGenerator import ( # __IGNORE_WARNING_I101__
34 BaseDocstringGenerator,
35 )
32 36
33 return BaseDocstringGenerator(editor) 37 return BaseDocstringGenerator(editor)
34 38
35 39
36 def getSupportedDocstringTypes(): 40 def getSupportedDocstringTypes():

eric ide

mercurial