Used isort to sort imports. Also added to the git pre-commit hook.
[python_utils.git] / site_config.py
index 62c2b98d347c67954980e794a93e5edebcf705a2..233589970ea2058b2768de16ec649602eda2be2f 100644 (file)
@@ -1,8 +1,8 @@
 #!/usr/bin/env python3
 
-from dataclasses import dataclass
 import logging
 import platform
+from dataclasses import dataclass
 from typing import Callable
 
 # Note: this module is fairly early loaded.  Be aware of dependencies.
@@ -97,9 +97,7 @@ def get_config():
             network_netmask='255.255.255.0',
             network_router_ip='10.0.0.1',
             presence_location=Location.HOUSE,
-            is_anyone_present=lambda x=Location.HOUSE: is_anyone_present_wrapper(
-                x
-            ),
+            is_anyone_present=lambda x=Location.HOUSE: is_anyone_present_wrapper(x),
             arper_minimum_device_count=50,
         )
     elif location == 'CABIN':
@@ -110,9 +108,7 @@ def get_config():
             network_netmask='255.255.255.0',
             network_router_ip='192.168.0.1',
             presence_location=Location.CABIN,
-            is_anyone_present=lambda x=Location.CABIN: is_anyone_present_wrapper(
-                x
-            ),
+            is_anyone_present=lambda x=Location.CABIN: is_anyone_present_wrapper(x),
             arper_minimum_device_count=15,
         )
     else: