diff --git a/wgkex/common/utils.py b/wgkex/common/utils.py index 8fa201c..e90ee43 100644 --- a/wgkex/common/utils.py +++ b/wgkex/common/utils.py @@ -1,4 +1,5 @@ """A collection of general utilities.""" + import ipaddress import re diff --git a/wgkex/config/config.py b/wgkex/config/config.py index b0239e2..b597f5a 100644 --- a/wgkex/config/config.py +++ b/wgkex/config/config.py @@ -1,4 +1,5 @@ """Configuration handling class.""" + import dataclasses import logging import os diff --git a/wgkex/config/config_test.py b/wgkex/config/config_test.py index 6e30eb3..8c3be35 100644 --- a/wgkex/config/config_test.py +++ b/wgkex/config/config_test.py @@ -1,4 +1,5 @@ """Tests for configuration handling class.""" + import unittest import mock import yaml diff --git a/wgkex/worker/app_test.py b/wgkex/worker/app_test.py index efe774d..8cb418f 100644 --- a/wgkex/worker/app_test.py +++ b/wgkex/worker/app_test.py @@ -1,4 +1,5 @@ """Unit tests for app.py""" + import threading from time import sleep import unittest diff --git a/wgkex/worker/mqtt_test.py b/wgkex/worker/mqtt_test.py index 3ea186e..efdd4eb 100644 --- a/wgkex/worker/mqtt_test.py +++ b/wgkex/worker/mqtt_test.py @@ -1,4 +1,5 @@ """Unit tests for mqtt.py""" + import socket import threading import unittest diff --git a/wgkex/worker/netlink.py b/wgkex/worker/netlink.py index bb413f1..057e110 100644 --- a/wgkex/worker/netlink.py +++ b/wgkex/worker/netlink.py @@ -1,4 +1,5 @@ """Functions related to netlink manipulation for Wireguard, IPRoute and FDB on Linux.""" + # See https://docs.pyroute2.org/iproute.html for a documentation of the layout of netlink responses import hashlib import re diff --git a/wgkex/worker/netlink_test.py b/wgkex/worker/netlink_test.py index 0874005..86673a7 100644 --- a/wgkex/worker/netlink_test.py +++ b/wgkex/worker/netlink_test.py @@ -1,4 +1,5 @@ """Unit tests for netlink.py""" + import unittest import mock from datetime import timedelta