From d9599ffc6f974459afc5a7556985b16158c0f744 Mon Sep 17 00:00:00 2001 From: aaronkaplan Date: Tue, 16 Jan 2024 21:37:00 +0100 Subject: [PATCH] fix #48 --- Makefile | 4 ++-- {analyzers => analysers}/__init__.py | 0 {analyzers => analysers}/apps.py | 2 +- {analyzers => analysers}/sysdiagnose-demo-analyser.py | 0 {analyzers => analysers}/sysdiagnose-timeliner.py | 0 {analyzers => analysers}/sysdiagnose-wifi-gelocation-kml.py | 0 {analyzers => analysers}/sysdiagnose-wifi-gelocation.py | 0 config.py | 2 +- 8 files changed, 4 insertions(+), 4 deletions(-) rename {analyzers => analysers}/__init__.py (100%) rename {analyzers => analysers}/apps.py (99%) rename {analyzers => analysers}/sysdiagnose-demo-analyser.py (100%) rename {analyzers => analysers}/sysdiagnose-timeliner.py (100%) rename {analyzers => analysers}/sysdiagnose-wifi-gelocation-kml.py (100%) rename {analyzers => analysers}/sysdiagnose-wifi-gelocation.py (100%) diff --git a/Makefile b/Makefile index 6cd2740..bc60de5 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -test: *.py parsers/* analyzers/* +test: *.py parsers/* analysers/* python -m pytest --verbose tests # or: nosetests -v -lint: *.py parsers/* analyzers/* +lint: *.py parsers/* analysers/* pycodestyle --exclude=venv --ignore=errors=E221,E225,E251,E501,E266,E302 --max-line-length=128 $(git ls-files '*.py') diff --git a/analyzers/__init__.py b/analysers/__init__.py similarity index 100% rename from analyzers/__init__.py rename to analysers/__init__.py diff --git a/analyzers/apps.py b/analysers/apps.py similarity index 99% rename from analyzers/apps.py rename to analysers/apps.py index fe8acf7..1ed4f38 100644 --- a/analyzers/apps.py +++ b/analysers/apps.py @@ -3,7 +3,7 @@ # For Python3 # Author: Emiliern Le Jamtel -"""Apps analyzer. +"""Apps analyser. Usage: apps.py -i diff --git a/analyzers/sysdiagnose-demo-analyser.py b/analysers/sysdiagnose-demo-analyser.py similarity index 100% rename from analyzers/sysdiagnose-demo-analyser.py rename to analysers/sysdiagnose-demo-analyser.py diff --git a/analyzers/sysdiagnose-timeliner.py b/analysers/sysdiagnose-timeliner.py similarity index 100% rename from analyzers/sysdiagnose-timeliner.py rename to analysers/sysdiagnose-timeliner.py diff --git a/analyzers/sysdiagnose-wifi-gelocation-kml.py b/analysers/sysdiagnose-wifi-gelocation-kml.py similarity index 100% rename from analyzers/sysdiagnose-wifi-gelocation-kml.py rename to analysers/sysdiagnose-wifi-gelocation-kml.py diff --git a/analyzers/sysdiagnose-wifi-gelocation.py b/analysers/sysdiagnose-wifi-gelocation.py similarity index 100% rename from analyzers/sysdiagnose-wifi-gelocation.py rename to analysers/sysdiagnose-wifi-gelocation.py diff --git a/config.py b/config.py index 7564b2d..b5428db 100644 --- a/config.py +++ b/config.py @@ -9,5 +9,5 @@ data_folder = "./data/" parsed_data_folder = "./parsed_data/" parsers_folder = "./parsers/" -analysers_folder = "./analyzers" +analysers_folder = "./analysers" debug = True