Use direct imports everywhere

This commit is contained in:
Veronica Berglyd Olsen
2022-11-28 18:23:36 +01:00
parent a51f0db6fa
commit 32d75567e3
20 changed files with 50 additions and 196 deletions
+2 -1
View File
@@ -50,10 +50,11 @@ from PyQt5.QtWidgets import (
QFrame
)
from novelwriter.core import NWSpellEnchant, countWords
from novelwriter.enum import nwAlert, nwDocAction, nwDocInsert, nwDocMode, nwItemClass
from novelwriter.common import minmax, transferCase
from novelwriter.constants import nwConst, nwFiles, nwKeyWords, nwUnicode
from novelwriter.core.index import countWords
from novelwriter.core.spellcheck import NWSpellEnchant
from novelwriter.gui.dochighlight import GuiDocHighlighter
logger = logging.getLogger(__name__)