src/eric7/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditEditor.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
88 @rtype QWidget 88 @rtype QWidget
89 """ 89 """
90 if args.file: 90 if args.file:
91 fileName = os.path.basename(args.file) 91 fileName = os.path.basename(args.file)
92 if fileName.startswith("hg-histedit-"): 92 if fileName.startswith("hg-histedit-"):
93 from HgHisteditPlanEditor import HgHisteditPlanEditor # noqa: I101, I102 93 from HgHisteditPlanEditor import HgHisteditPlanEditor # noqa: I-101, I-102
94 94
95 return HgHisteditPlanEditor(args.file) 95 return HgHisteditPlanEditor(args.file)
96 elif fileName.startswith("hg-editor-"): 96 elif fileName.startswith("hg-editor-"):
97 from HgHisteditCommitEditor import ( # noqa: I101, I102 97 from HgHisteditCommitEditor import ( # noqa: I-101, I-102
98 HgHisteditCommitEditor, 98 HgHisteditCommitEditor,
99 ) 99 )
100 100
101 return HgHisteditCommitEditor(args.file) 101 return HgHisteditCommitEditor(args.file)
102 102

eric ide

mercurial