refactor: Compiled ignored ruff rules in pyproject

This commit is contained in:
JSC
2025-08-01 09:40:15 +02:00
parent fceff92ca1
commit f68f4d9046
30 changed files with 22 additions and 31 deletions

View File

@@ -1,5 +1,4 @@
"""Tests for authentication service."""
# ruff: noqa: S106, SLF001, PLC0415
import pytest
import pytest_asyncio

View File

@@ -1,5 +1,4 @@
"""Tests for credit service."""
# ruff: noqa: ANN001, ANN201, PLR2004, E501
import json
from unittest.mock import AsyncMock, patch

View File

@@ -1,5 +1,4 @@
"""Tests for extraction service."""
# ruff: noqa: ANN001, ANN201, PLR2004, SLF001, E501
import tempfile
from pathlib import Path

View File

@@ -1,5 +1,4 @@
"""Tests for extraction background processor."""
# ruff: noqa: ANN001, ANN201, PLR2004, SLF001
from unittest.mock import AsyncMock, Mock, patch

View File

@@ -1,5 +1,4 @@
"""Tests for OAuth service."""
# ruff: noqa: ANN001, PLR2004, ANN401, PT011, ANN202, ANN003, ARG001
from typing import Any
from unittest.mock import AsyncMock, Mock, patch

View File

@@ -1,5 +1,4 @@
"""Tests for player service."""
# ruff: noqa: ANN001, ANN201, ARG002, PLR2004, SLF001, E501, SIM117, ARG005
import asyncio
import threading

View File

@@ -1,5 +1,4 @@
"""Tests for playlist service."""
# ruff: noqa: ANN001, ARG002, PLR2004, E501, PLC0415
from collections.abc import AsyncGenerator

View File

@@ -1,5 +1,4 @@
"""Tests for socket service."""
# ruff: noqa: ANN001, ANN201, ARG002, PLR2004, SLF001, E501, ANN202
from unittest.mock import AsyncMock, patch

View File

@@ -1,5 +1,4 @@
"""Tests for sound normalizer service."""
# ruff: noqa: ANN001, ANN201, ARG002, PLR2004, SLF001, E501, PLC0415
import tempfile
from pathlib import Path

View File

@@ -1,5 +1,4 @@
"""Tests for sound scanner service."""
# ruff: noqa: ANN001, ANN201, ARG002, PLR2004, SLF001, PLC0415, SIM117
import tempfile
from pathlib import Path

View File

@@ -1,5 +1,4 @@
"""Tests for VLC player service."""
# ruff: noqa: ANN001, ANN201, PLR2004, SLF001, SIM117, E501, ANN202, PLC0415
import asyncio
from pathlib import Path