Clean up imports

This commit is contained in:
Veronica K. B. Olsen
2019-11-03 19:44:58 +01:00
parent be7b69dc9a
commit 62988df7d2
23 changed files with 217 additions and 53 deletions
+17
View File
@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
from nw.project.backup import NWBackup
from nw.project.document import NWDoc
from nw.project.index import NWIndex
from nw.project.item import NWItem
from nw.project.project import NWProject
from nw.project.status import NWStatus
__all__ = [
NWBackup,
NWDoc,
NWIndex,
NWItem,
NWProject,
NWStatus,
]
+1 -2
View File
@@ -17,9 +17,8 @@ import nw
from os import path
from nw.project.document import NWDoc
from nw.enum import nwItemType, nwItemClass, nwItemLayout
from nw.constants import nwFiles, nwKeyWords
from nw.enum import nwAlert
from nw.enum import nwItemType, nwItemClass, nwItemLayout, nwAlert
logger = logging.getLogger(__name__)
+1 -1
View File
@@ -17,8 +17,8 @@ from os import path, mkdir
from lxml import etree
from datetime import datetime
from nw.enum import nwItemType, nwItemClass, nwItemLayout
from nw.common import checkInt
from nw.enum import nwItemType, nwItemClass, nwItemLayout
logger = logging.getLogger(__name__)
+3 -3
View File
@@ -20,11 +20,11 @@ from hashlib import sha256
from datetime import datetime
from time import time
from nw.project.item import NWItem
from nw.project.status import NWStatus
from nw.enum import nwItemType, nwItemClass, nwItemLayout, nwAlert
from nw.common import checkString, checkBool, checkInt
from nw.project.item import NWItem
from nw.constants import nwFiles, nwConst
from nw.common import checkString, checkBool, checkInt
from nw.enum import nwItemType, nwItemClass, nwItemLayout, nwAlert
logger = logging.getLogger(__name__)
+1 -1
View File
@@ -15,8 +15,8 @@ import nw
from lxml import etree
from nw.enum import nwItemClass
from nw.common import checkInt
from nw.enum import nwItemClass
logger = logging.getLogger(__name__)