mirror of
https://github.com/apache/superset.git
synced 2026-04-13 21:24:28 +00:00
chore(pre-commit): Add pyupgrade and pycln hooks (#24197)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
# under the License.
|
||||
# isort:skip_file
|
||||
"""Unit tests for Superset"""
|
||||
from typing import Dict, Any
|
||||
from typing import Any
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -31,7 +31,7 @@ from tests.integration_tests.base_tests import (
|
||||
|
||||
@pytest.fixture
|
||||
def invalidate(test_client, login_as_admin):
|
||||
def _invalidate(params: Dict[str, Any]):
|
||||
def _invalidate(params: dict[str, Any]):
|
||||
return post_assert_metric(
|
||||
test_client, "api/v1/cachekey/invalidate", params, "invalidate"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user