forked from platformio/platformio-core
Apply black formatter
This commit is contained in:
1 parent
cccabf5330
commit
61d6cd3c18
8 files changed
+11
-11
No files matched your search
+2
-2
@@ -77,7 +77,7 @@ class throttle(object):
|
||||
|
||||
|
||||
def singleton(cls):
|
||||
""" From PEP-318 http://www.python.org/dev/peps/pep-0318/#examples """
|
||||
"""From PEP-318 http://www.python.org/dev/peps/pep-0318/#examples"""
|
||||
_instances = {}
|
||||
|
||||
def get_instance(*args, **kwargs):
|
||||
@@ -231,7 +231,7 @@ def get_mdns_services():
|
||||
|
||||
|
||||
def pioversion_to_intstr():
|
||||
""" Legacy for framework-zephyr/scripts/platformio/platformio-build-pre.py"""
|
||||
"""Legacy for framework-zephyr/scripts/platformio/platformio-build-pre.py"""
|
||||
vermatch = re.match(r"^([\d\.]+)", __version__)
|
||||
assert vermatch
|
||||
return [int(i) for i in vermatch.group(1).split(".")[:3]]
|
||||
|
||||
Reference in new issue
Block a user