Lint: E305 expected 2 blank lines after class or function definition, found X

This commit is contained in:
2020-11-07 13:17:49 -05:00
parent e553c5d42a
commit 961ebb4c01
7 changed files with 146 additions and 1 deletions

View File

@ -73,6 +73,7 @@ def verifyOSDBlock(zk_conn, node, device):
return osd
return None
# Format byte sizes to/from human-readable units
byte_unit_matrix = {
'B': 1,
@ -106,6 +107,7 @@ def format_bytes_fromhuman(datahuman):
databytes = datasize * byte_unit_matrix[dataunit]
return '{}B'.format(databytes)
# Format ops sizes to/from human-readable units
ops_unit_matrix = {
'': 1,