flake8
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
"""CellId database resolver."""
|
"""CellId database resolver."""
|
||||||
from .cellidresolver import CellIdResolver
|
from .cellidresolver import CellIdResolver # noqa: F401
|
||||||
|
@@ -423,7 +423,7 @@ class ClusteringLocator(LocatorBase):
|
|||||||
async def cluster_wifi(self, observation, hint=None):
|
async def cluster_wifi(self, observation, hint=None):
|
||||||
|
|
||||||
def found_enough(lookups):
|
def found_enough(lookups):
|
||||||
"""Return True if there are enough (found) lookups for locating"""
|
"""Return True if there are enough (found) lookups for locating."""
|
||||||
# Stop resolving after this many APs are found
|
# Stop resolving after this many APs are found
|
||||||
min_strongs = 3 # APs with signal > WIFI_MIN_SIGNAL
|
min_strongs = 3 # APs with signal > WIFI_MIN_SIGNAL
|
||||||
min_total = 5
|
min_total = 5
|
||||||
|
Reference in New Issue
Block a user