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

@@ -19,6 +19,7 @@ This module contains utilities to auto-generate an
Entity-Relationship Diagram (ERD) from SQLAlchemy
and onto a plantuml file.
"""
import json
import os
from collections import defaultdict
@@ -27,9 +28,8 @@ from typing import Any, Optional
import click
import jinja2
from flask.cli import FlaskGroup, with_appcontext
from superset import app, db
from superset import db
GROUPINGS: dict[str, Iterable[str]] = {
"Core": [