some little fixes

This commit is contained in:
Bastian Schroll 2019-03-03 19:14:00 +01:00
parent 4b69b08028
commit 3feda678e2
5 changed files with 5 additions and 2 deletions

View file

@ -19,6 +19,7 @@ log_file_format=%(asctime)s - %(module)-12s %(funcName)-15s [%(levelname)-8s] %(
log_file_date_format=%d.%m.%Y %H:%M:%S
#pep8 plugin
pep8ignore = E402, E501 # import not at top
pep8ignore = E402 E501
# E402 # import not at top
# E501 # line too long
# pep8maxlinelength = 99

View file

@ -23,6 +23,7 @@ logging.debug("- %s loaded", __name__)
# note searching for root part is not a nice solution atm
ROOT_PATH = os.path.dirname(sys.modules['boswatch'].__file__).replace("\\", "/") + "/../"
LOG_PATH = ROOT_PATH + "log/"
CONFIG_PATH = ROOT_PATH + "config/"
BIN_PATH = ROOT_PATH + "_bin/"
TEST_PATH = ROOT_PATH + "test/"

View file

@ -14,6 +14,7 @@
@author: Bastian Schroll
@description: BOSWatch client application
"""
# pylint: disable=wrong-import-position
from boswatch.utils import paths
if not paths.makeDirIfNotExist(paths.LOG_PATH):

View file

@ -14,6 +14,7 @@
@author: Bastian Schroll
@description: BOSWatch server application
"""
# pylint: disable=wrong-import-position
from boswatch.utils import paths
if not paths.makeDirIfNotExist(paths.LOG_PATH):

View file

@ -100,4 +100,3 @@ class Module:
"""!Called by destruction of the module
Must be inherit"""
pass