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

@@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.
"""Unit tests for alerting in Superset"""
import logging
from contextlib import contextmanager
from unittest.mock import patch
from unittest.mock import patch # noqa: F401
import pytest
from flask_appbuilder.security.sqla.models import Role