Black Linting

This commit is contained in:
Joe Abbate 2023-06-18 19:43:44 -04:00
parent 35165a38c5
commit d16858e4d5

View file

@ -10,11 +10,13 @@ from proxstar.proxmox import connect_proxmox, get_free_vmid, get_node_least_mem,
from proxstar.starrs import get_ip_for_mac
from proxstar.util import lazy_property, default_repr
def check_in_gb(size):
if size[-1] == 'M':
size = f'{int(size.rstrip("M")) / 1000}G'
return size
@default_repr
class VM:
def __init__(self, vmid):