chore: set up ruff as a new linter/formatter (#28158)

This commit is contained in:
Maxime Beauchemin
2024-04-24 17:19:53 -07:00
committed by GitHub
parent e8a678b75a
commit 2d63722150
579 changed files with 2508 additions and 2542 deletions

View File

@@ -22,7 +22,7 @@ from unittest import mock
from zipfile import is_zipfile, ZipFile
import pytest
import yaml
import yaml # noqa: F401
from freezegun import freeze_time
import superset.cli.importexport
@@ -30,8 +30,8 @@ import superset.cli.thumbnails
from superset import app, db
from superset.models.dashboard import Dashboard
from tests.integration_tests.fixtures.birth_names_dashboard import (
load_birth_names_dashboard_with_slices,
load_birth_names_data,
load_birth_names_dashboard_with_slices, # noqa: F401
load_birth_names_data, # noqa: F401
)
logger = logging.getLogger(__name__)