diff --git a/src/de/p1st/monitor/cfg/loggers.py b/src/de/p1st/monitor/cfg/loggers.py index e24b9dd..d5182a5 100644 --- a/src/de/p1st/monitor/cfg/loggers.py +++ b/src/de/p1st/monitor/cfg/loggers.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- import configparser import json from pathlib import Path diff --git a/src/de/p1st/monitor/cfg/logging_dir.py b/src/de/p1st/monitor/cfg/logging_dir.py index 025796c..46ded9e 100644 --- a/src/de/p1st/monitor/cfg/logging_dir.py +++ b/src/de/p1st/monitor/cfg/logging_dir.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- from pathlib import Path from de.p1st.monitor.cfg.singleton import get_cfg diff --git a/src/de/p1st/monitor/cfg/singleton.py b/src/de/p1st/monitor/cfg/singleton.py index 53721ad..c20d4a1 100644 --- a/src/de/p1st/monitor/cfg/singleton.py +++ b/src/de/p1st/monitor/cfg/singleton.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- import configparser from pathlib import Path diff --git a/src/de/p1st/monitor/csv_util.py b/src/de/p1st/monitor/csv_util.py index 3a8d76d..fa30a2d 100644 --- a/src/de/p1st/monitor/csv_util.py +++ b/src/de/p1st/monitor/csv_util.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- import csv from collections import deque from pathlib import Path diff --git a/src/de/p1st/monitor/datetime_util.py b/src/de/p1st/monitor/datetime_util.py index d8402df..d5b6b98 100755 --- a/src/de/p1st/monitor/datetime_util.py +++ b/src/de/p1st/monitor/datetime_util.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- from datetime import datetime, timezone diff --git a/src/de/p1st/monitor/logger.py b/src/de/p1st/monitor/logger.py index ab021a4..dc8bd1b 100644 --- a/src/de/p1st/monitor/logger.py +++ b/src/de/p1st/monitor/logger.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- from pathlib import Path from abc import ABC, abstractmethod diff --git a/src/de/p1st/monitor/logger_ex.py b/src/de/p1st/monitor/logger_ex.py index 7785326..97eac90 100644 --- a/src/de/p1st/monitor/logger_ex.py +++ b/src/de/p1st/monitor/logger_ex.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- class LoggerReadEx(Exception): """ Used by Logger subclasses if diff --git a/src/de/p1st/monitor/loggers/cpu.py b/src/de/p1st/monitor/loggers/cpu.py index 88a3d7b..f6e9920 100644 --- a/src/de/p1st/monitor/loggers/cpu.py +++ b/src/de/p1st/monitor/loggers/cpu.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- from pathlib import Path from abc import abstractmethod from typing import Literal diff --git a/src/de/p1st/monitor/loggers/drive.py b/src/de/p1st/monitor/loggers/drive.py index 3944dc8..2ed7781 100644 --- a/src/de/p1st/monitor/loggers/drive.py +++ b/src/de/p1st/monitor/loggers/drive.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- import json from pathlib import Path diff --git a/src/de/p1st/monitor/loggers/filesystem.py b/src/de/p1st/monitor/loggers/filesystem.py index 76a4263..9c84221 100644 --- a/src/de/p1st/monitor/loggers/filesystem.py +++ b/src/de/p1st/monitor/loggers/filesystem.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- import math from pathlib import Path diff --git a/src/de/p1st/monitor/loggers/memory.py b/src/de/p1st/monitor/loggers/memory.py index 01f6b9d..c575ed8 100644 --- a/src/de/p1st/monitor/loggers/memory.py +++ b/src/de/p1st/monitor/loggers/memory.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- from pathlib import Path import psutil diff --git a/src/de/p1st/monitor/loggers/network.py b/src/de/p1st/monitor/loggers/network.py index acc95d1..62566f6 100644 --- a/src/de/p1st/monitor/loggers/network.py +++ b/src/de/p1st/monitor/loggers/network.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- import sys from datetime import datetime, timezone, timedelta from pathlib import Path diff --git a/src/de/p1st/monitor/loggers/sensor_script.py b/src/de/p1st/monitor/loggers/sensor_script.py index 2198572..cded3a9 100644 --- a/src/de/p1st/monitor/loggers/sensor_script.py +++ b/src/de/p1st/monitor/loggers/sensor_script.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- import subprocess from pathlib import Path diff --git a/src/de/p1st/monitor/loggers/swap.py b/src/de/p1st/monitor/loggers/swap.py index 4fe7333..2c37993 100644 --- a/src/de/p1st/monitor/loggers/swap.py +++ b/src/de/p1st/monitor/loggers/swap.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- from pathlib import Path import psutil diff --git a/src/de/p1st/monitor/loggers/temp.py b/src/de/p1st/monitor/loggers/temp.py index 0efa033..a8b090d 100644 --- a/src/de/p1st/monitor/loggers/temp.py +++ b/src/de/p1st/monitor/loggers/temp.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- from pathlib import Path import psutil diff --git a/src/de/p1st/monitor/string_conversion.py b/src/de/p1st/monitor/string_conversion.py index 4bae2ca..b1c7396 100644 --- a/src/de/p1st/monitor/string_conversion.py +++ b/src/de/p1st/monitor/string_conversion.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- from typing import Callable from de.p1st.monitor import datetime_util diff --git a/src/de/p1st/monitor/warn.py b/src/de/p1st/monitor/warn.py index a98af61..d46aab5 100644 --- a/src/de/p1st/monitor/warn.py +++ b/src/de/p1st/monitor/warn.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- from __future__ import annotations import sys from datetime import datetime diff --git a/src/de/p1st/monitor/warn_data.py b/src/de/p1st/monitor/warn_data.py index 8fd8a1a..1b66433 100644 --- a/src/de/p1st/monitor/warn_data.py +++ b/src/de/p1st/monitor/warn_data.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- from typing import NamedTuple from datetime import datetime