mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 20:02:22 +01:00
add-black (#1593)
* Add black Update pre commit Update pre commit add empty line * Format with black
This commit is contained in:
committed by
GitHub
parent
2b60b0f1fa
commit
69879920eb
@@ -12,4 +12,6 @@ def mac_addr_strings():
|
||||
This consists of six strings representing integers [0..255],
|
||||
without zero-padding, joined by dots.
|
||||
"""
|
||||
return st.builds("{:02X}:{:02X}:{:02X}:{:02X}:{:02X}:{:02X}".format, *(6 * [st.integers(0, 255)]))
|
||||
return st.builds(
|
||||
"{:02X}:{:02X}:{:02X}:{:02X}:{:02X}:{:02X}".format, *(6 * [st.integers(0, 255)])
|
||||
)
|
||||
|
Reference in New Issue
Block a user