Skip to content

Commit

Permalink
revert isort
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jul 5, 2020
1 parent 8967e8c commit 8e4c873
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Expand Up @@ -25,7 +25,6 @@ repos:
rev: v1.9.3
hooks:
- id: seed-isort-config
language_version: python3.6

- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
Expand Down
2 changes: 1 addition & 1 deletion superset/db_engine_specs/base.py
Expand Up @@ -15,6 +15,7 @@
# specific language governing permissions and limitations
# under the License.
# pylint: disable=unused-argument
import dataclasses
import hashlib
import json
import logging
Expand All @@ -33,7 +34,6 @@
Union,
)

import dataclasses
import pandas as pd
import sqlparse
from flask import g
Expand Down
3 changes: 1 addition & 2 deletions superset/errors.py
Expand Up @@ -15,11 +15,10 @@
# specific language governing permissions and limitations
# under the License.
# pylint: disable=too-few-public-methods,invalid-name
from dataclasses import dataclass
from enum import Enum
from typing import Any, Dict, Optional

from dataclasses import dataclass


class SupersetErrorType(str, Enum):
"""
Expand Down
2 changes: 1 addition & 1 deletion superset/utils/dashboard_import_export.py
Expand Up @@ -21,7 +21,7 @@
from io import BytesIO
from typing import Any, Dict, Optional

from flask_babel import gettext as __, lazy_gettext as _
from flask_babel import lazy_gettext as _
from sqlalchemy.orm import Session

from superset.connectors.sqla.models import SqlaTable, SqlMetric, TableColumn
Expand Down
2 changes: 1 addition & 1 deletion superset/views/base.py
Expand Up @@ -14,13 +14,13 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import dataclasses
import functools
import logging
import traceback
from datetime import datetime
from typing import Any, Callable, cast, Dict, List, Optional, TYPE_CHECKING, Union

import dataclasses
import simplejson as json
import yaml
from flask import abort, flash, g, get_flashed_messages, redirect, Response, session
Expand Down
2 changes: 1 addition & 1 deletion superset/viz.py
Expand Up @@ -21,6 +21,7 @@
Superset can render.
"""
import copy
import dataclasses
import hashlib
import inspect
import logging
Expand All @@ -32,7 +33,6 @@
from itertools import product
from typing import Any, cast, Dict, List, Optional, Set, Tuple, TYPE_CHECKING, Union

import dataclasses
import geohash
import numpy as np
import pandas as pd
Expand Down
2 changes: 1 addition & 1 deletion superset/viz_sip38.py
Expand Up @@ -22,6 +22,7 @@
"""
# mypy: ignore-errors
import copy
import dataclasses
import hashlib
import inspect
import logging
Expand All @@ -33,7 +34,6 @@
from itertools import product
from typing import Any, Dict, List, Optional, Set, Tuple, TYPE_CHECKING

import dataclasses
import geohash
import numpy as np
import pandas as pd
Expand Down

0 comments on commit 8e4c873

Please sign in to comment.