chore: move some rules from ruff -> pylint (#34292)

This commit is contained in:
Maxime Beauchemin
2025-07-24 09:40:49 -07:00
committed by GitHub
parent efa8cb6fa4
commit 3f8472ca7b
18 changed files with 34 additions and 56 deletions

View File

@@ -34,15 +34,15 @@ from superset.utils.database import get_example_database
from tests.integration_tests.base_tests import SupersetTestCase
from tests.integration_tests.test_app import app
from ..fixtures.birth_names_dashboard import (
from ..fixtures.birth_names_dashboard import ( # noqa: TID252
load_birth_names_dashboard_with_slices, # noqa: F401
load_birth_names_data, # noqa: F401
)
from ..fixtures.energy_dashboard import (
from ..fixtures.energy_dashboard import ( # noqa: TID252
load_energy_table_data, # noqa: F401
load_energy_table_with_slice, # noqa: F401
)
from ..fixtures.pyodbcRow import Row
from ..fixtures.pyodbcRow import Row # noqa: TID252
class SupersetTestCases(SupersetTestCase):

View File

@@ -14,7 +14,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import json
import json # noqa: TID251
import pytest

View File

@@ -14,7 +14,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import json
import json # noqa: TID251
from collections.abc import Iterator
from typing import Any
from uuid import uuid3

View File

@@ -16,7 +16,7 @@
# under the License.
import copy
import json
import json # noqa: TID251
from typing import Any
from pytest_mock import MockerFixture

View File

@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
import json
import json # noqa: TID251
from datetime import datetime
from unittest.mock import patch
from uuid import UUID

View File

@@ -19,7 +19,7 @@
from __future__ import annotations
import json
import json # noqa: TID251
from textwrap import dedent
from typing import Any

View File

@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
import json
import json # noqa: TID251
import pytest
from pytest_mock import MockerFixture

View File

@@ -17,7 +17,7 @@
# pylint: disable=invalid-name, unused-argument, redefined-outer-name
import json
import json # noqa: TID251
import pytest
from flask_appbuilder.security.sqla.models import Role, User

View File

@@ -16,7 +16,7 @@
# under the License.
# pylint: disable=import-outside-toplevel, invalid-name, unused-argument, too-many-locals
import json
import json # noqa: TID251
from unittest import mock
from uuid import UUID