Removed flake8, black and isort; moving towards ruff default settings instead.

This commit is contained in:
L. Kärkkäinen
2023-10-25 04:12:24 +01:00
parent 469cb1663b
commit e4daf1ab21
197 changed files with 6 additions and 321 deletions

View File

@@ -8,7 +8,6 @@ from unittest.mock import Mock, patch
from urllib.error import URLError
import pytest
from sanic_testing import TestManager
from sanic.cli.inspector_client import InspectorClient
@@ -16,7 +15,6 @@ from sanic.helpers import Default
from sanic.log import Colors
from sanic.worker.inspector import Inspector
DATA = {
"info": {
"packages": ["foo"],

View File

@@ -1,5 +1,4 @@
import sys
from os import getcwd
from pathlib import Path
from types import SimpleNamespace
@@ -10,7 +9,6 @@ import pytest
from sanic.app import Sanic
from sanic.worker.loader import AppLoader, CertLoader
STATIC = Path.cwd() / "tests" / "static"

View File

@@ -9,7 +9,6 @@ from sanic.exceptions import ServerKilled
from sanic.worker.constants import RestartOrder
from sanic.worker.manager import WorkerManager
if not OS_IS_WINDOWS:
from signal import SIGKILL
else:

View File

@@ -1,5 +1,4 @@
import sys
from multiprocessing import Event
from os import environ, getpid
from typing import Any, Dict, Type, Union

View File

@@ -1,7 +1,6 @@
import re
import signal
import threading
from asyncio import Event
from logging import DEBUG
from pathlib import Path

View File

@@ -7,7 +7,6 @@
# 38->
import logging
from ctypes import c_int32
from multiprocessing import Pipe, Queue, Value
from os import environ

View File

@@ -1,5 +1,4 @@
import logging
from os import environ
from unittest.mock import Mock, patch