mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
chore: set up ruff as a new linter/formatter (#28158)
This commit is contained in:
committed by
GitHub
parent
e8a678b75a
commit
2d63722150
@@ -16,6 +16,7 @@
|
||||
# under the License.
|
||||
# isort:skip_file
|
||||
"""Unit tests for Superset Celery worker"""
|
||||
|
||||
import datetime
|
||||
import random
|
||||
import string
|
||||
@@ -23,14 +24,14 @@ import time
|
||||
import unittest.mock as mock
|
||||
from typing import Optional
|
||||
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
|
||||
)
|
||||
|
||||
import pytest
|
||||
|
||||
import flask
|
||||
from flask import current_app, has_app_context
|
||||
import flask # noqa: F401
|
||||
from flask import current_app, has_app_context # noqa: F401
|
||||
|
||||
from superset import db, sql_lab
|
||||
from superset.common.db_query_status import QueryStatus
|
||||
|
||||
Reference in New Issue
Block a user