projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make subdirs type clean too.
[python_utils.git]
/
site_config.py
diff --git
a/site_config.py
b/site_config.py
index 62c2b98d347c67954980e794a93e5edebcf705a2..233589970ea2058b2768de16ec649602eda2be2f 100644
(file)
--- a/
site_config.py
+++ b/
site_config.py
@@
-1,8
+1,8
@@
#!/usr/bin/env python3
#!/usr/bin/env python3
-from dataclasses import dataclass
import logging
import platform
import logging
import platform
+from dataclasses import dataclass
from typing import Callable
# Note: this module is fairly early loaded. Be aware of dependencies.
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,
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':
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,
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:
arper_minimum_device_count=15,
)
else: