Skip to content

Commit

Permalink
[black] re-run black with 23.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Collard <[email protected]>
  • Loading branch information
sparkiegeek committed Feb 14, 2023
1 parent 866c13b commit 2f276bf
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion pylxd/deprecated/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ def _get_ssl_certs():


class _LXDResponse(NamedTuple):

status: int
body: bytes
json: Any
Expand Down
2 changes: 1 addition & 1 deletion pylxd/deprecated/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def get_image_size(self, image, data):
image_size = data["size"]
if image_size <= 0:
raise exceptions.ImageInvalidSize()
return image_size // 1024 ** 2
return image_size // 1024**2
except Exception as e:
print("Unable to fetch image info - {}".format(e))
raise
Expand Down
1 change: 0 additions & 1 deletion pylxd/deprecated/tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
return_value=("200", fake_api.fake_image_info()),
)
class LXDAPIImageTestObject(LXDAPITestBase):

list_data = (
("list", (), ()),
("search", ({"foo": "bar"},), ("foo=bar",)),
Expand Down
1 change: 0 additions & 1 deletion pylxd/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ class ClusterCertificateManager(BaseManager):


class ClusterManager(BaseManager):

manager_for = "pylxd.models.Cluster"

def __init__(self, client, *args, **kwargs):
Expand Down
1 change: 0 additions & 1 deletion pylxd/models/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class InstanceState(model.AttributeDict):


class _InstanceExecuteResult(NamedTuple):

exit_code: int
stdout: IO
stderr: IO
Expand Down

0 comments on commit 2f276bf

Please sign in to comment.