style: linting

This commit is contained in:
Daylin Morgan 2023-06-01 09:50:28 -05:00
parent f0e18acab8
commit 2da0d30867
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -50,7 +50,7 @@ from typing import (
from urllib.error import HTTPError from urllib.error import HTTPError
from urllib.request import urlopen from urllib.request import urlopen
__version__ = "23.5a4-21-gf5c91fe-dev" __version__ = "23.5a4-23-gf0e18ac-dev"
class Config: class Config:
@ -1000,7 +1000,9 @@ class Viv:
for _, vivenv in self.vivenvs.items(): for _, vivenv in self.vivenvs.items():
vivenv.tree() vivenv.tree()
elif args.json: elif args.json:
sys.stdout.write(json.dumps({k:v.meta.__dict__ for k,v in self.vivenvs.items()})) sys.stdout.write(
json.dumps({k: v.meta.__dict__ for k, v in self.vivenvs.items()})
)
else: else:
for _, vivenv in self.vivenvs.items(): for _, vivenv in self.vivenvs.items():
vivenv.show() vivenv.show()