style: add file headers

This commit is contained in:
Daniel Langbein 2023-10-05 16:16:31 +02:00
parent 118709eb87
commit fe4377a522
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
18 changed files with 34 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import configparser import configparser
import json import json
from pathlib import Path from pathlib import Path

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pathlib import Path from pathlib import Path
from de.p1st.monitor.cfg.singleton import get_cfg from de.p1st.monitor.cfg.singleton import get_cfg

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import configparser import configparser
from pathlib import Path from pathlib import Path

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import csv import csv
from collections import deque from collections import deque
from pathlib import Path from pathlib import Path

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from datetime import datetime, timezone from datetime import datetime, timezone

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pathlib import Path from pathlib import Path
from abc import ABC, abstractmethod from abc import ABC, abstractmethod

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
class LoggerReadEx(Exception): class LoggerReadEx(Exception):
""" """
Used by Logger subclasses if Used by Logger subclasses if

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pathlib import Path from pathlib import Path
from abc import abstractmethod from abc import abstractmethod
from typing import Literal from typing import Literal

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json import json
from pathlib import Path from pathlib import Path

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import math import math
from pathlib import Path from pathlib import Path

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pathlib import Path from pathlib import Path
import psutil import psutil

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys import sys
from datetime import datetime, timezone, timedelta from datetime import datetime, timezone, timedelta
from pathlib import Path from pathlib import Path

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import subprocess import subprocess
from pathlib import Path from pathlib import Path

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pathlib import Path from pathlib import Path
import psutil import psutil

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pathlib import Path from pathlib import Path
import psutil import psutil

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import Callable from typing import Callable
from de.p1st.monitor import datetime_util from de.p1st.monitor import datetime_util

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import annotations from __future__ import annotations
import sys import sys
from datetime import datetime from datetime import datetime

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import NamedTuple from typing import NamedTuple
from datetime import datetime from datetime import datetime