From 116409bb8daf35fb6d6b235a72bda471faf6e469 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sun, 28 Jan 2024 15:29:05 +0100 Subject: [PATCH] Sort imports --- novelwriter/core/tokenizer.py | 2 +- tests/test_core/test_core_toodt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/novelwriter/core/tokenizer.py b/novelwriter/core/tokenizer.py index 7c9ba6d9..ca21250d 100644 --- a/novelwriter/core/tokenizer.py +++ b/novelwriter/core/tokenizer.py @@ -34,11 +34,11 @@ from pathlib import Path from functools import partial from PyQt5.QtCore import QCoreApplication, QRegularExpression -from novelwriter.core.index import processComment from novelwriter.enum import nwComment, nwItemLayout from novelwriter.common import formatTimeStamp, numberToRoman, checkInt from novelwriter.constants import nwHeadFmt, nwRegEx, nwShortcode, nwUnicode +from novelwriter.core.index import processComment from novelwriter.core.project import NWProject logger = logging.getLogger(__name__) diff --git a/tests/test_core/test_core_toodt.py b/tests/test_core/test_core_toodt.py index 5648e656..3ab402e1 100644 --- a/tests/test_core/test_core_toodt.py +++ b/tests/test_core/test_core_toodt.py @@ -25,11 +25,11 @@ import zipfile import xml.etree.ElementTree as ET from shutil import copyfile -from novelwriter.constants import nwHeadFmt from tools import ODT_IGNORE, cmpFiles from novelwriter.common import xmlIndent +from novelwriter.constants import nwHeadFmt from novelwriter.core.toodt import ToOdt, ODTParagraphStyle, ODTTextStyle, XMLParagraph, _mkTag from novelwriter.core.project import NWProject