Skip to content

Commit

Permalink
Cleanup: Use black
Browse files Browse the repository at this point in the history
  • Loading branch information
hoh committed Oct 17, 2023
1 parent 0489076 commit 36bcd28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/aleph/vm/orchestrator/views/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ async def index(request: web.Request):


async def status_check_fastapi(request: web.Request):
retro_compatibility: bool = (
request.rel_url.query.get("retro-compatibility", "false") == "true"
)
retro_compatibility: bool = request.rel_url.query.get("retro-compatibility", "false") == "true"

async with aiohttp.ClientSession() as session:
result = {
Expand Down
1 change: 1 addition & 0 deletions tests/supervisor/test_resolvectl_dns_servers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Avoid failures linked to nftables when initializing the global VmPool object
import os
from unittest import mock

from aleph.vm.orchestrator.conf import (
resolvectl_dns_servers,
resolvectl_dns_servers_ipv4,
Expand Down

0 comments on commit 36bcd28

Please sign in to comment.