mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-22 02:42:22 +03:00
fix: import errors
This commit is contained in:
parent
059056e97f
commit
2642345b0a
@ -23,13 +23,11 @@ This module handles Docker API operations via aiohttp Unix socket.
|
|||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import logging
|
import logging
|
||||||
import sys
|
from asyncio import timeout as async_timeout
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
import aiohttp
|
import aiohttp
|
||||||
|
|
||||||
|
|
||||||
from asyncio import timeout as async_timeout
|
|
||||||
from gns3server.utils import parse_version
|
from gns3server.utils import parse_version
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|||||||
@ -19,16 +19,14 @@ import asyncio
|
|||||||
import io
|
import io
|
||||||
import ipaddress
|
import ipaddress
|
||||||
import json
|
import json
|
||||||
|
import logging
|
||||||
import socket
|
import socket
|
||||||
import sys
|
import sys
|
||||||
|
from asyncio import timeout as asynctimeout
|
||||||
|
|
||||||
import aiohttp
|
import aiohttp
|
||||||
from fastapi import HTTPException
|
from fastapi import HTTPException
|
||||||
|
|
||||||
from asyncio import timeout as asynctimeout
|
|
||||||
|
|
||||||
import logging
|
|
||||||
|
|
||||||
from ..controller.controller_error import (
|
from ..controller.controller_error import (
|
||||||
ComputeConflictError,
|
ComputeConflictError,
|
||||||
ComputeError,
|
ComputeError,
|
||||||
|
|||||||
@ -58,7 +58,7 @@ packages = ["gns3server"]
|
|||||||
|
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
target-version = "py311"
|
target-version = "py310"
|
||||||
line-length = 120
|
line-length = 120
|
||||||
extend-exclude = [
|
extend-exclude = [
|
||||||
"*.md",
|
"*.md",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user