Skip to content

Commit

Permalink
flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Apr 17, 2019
1 parent 1ac4964 commit 2a50665
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 32 deletions.
4 changes: 1 addition & 3 deletions superset/data/bart_lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import gzip
import json
import os

import pandas as pd
import polyline
from sqlalchemy import String, Text

from superset import db
from superset.utils.core import get_or_create_main_db
from .helpers import DATA_FOLDER, TBL, get_example_data
from .helpers import TBL, get_example_data


def load_bart_lines():
Expand Down
3 changes: 0 additions & 3 deletions superset/data/birth_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import gzip
import json
import os
import textwrap

import pandas as pd
Expand All @@ -28,7 +26,6 @@
from .helpers import (
config,
Dash,
DATA_FOLDER,
get_example_data,
get_slice_json,
merge_slice,
Expand Down
2 changes: 0 additions & 2 deletions superset/data/country_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# specific language governing permissions and limitations
# under the License.
import datetime
import os

import pandas as pd
from sqlalchemy import BigInteger, Date, String
Expand All @@ -24,7 +23,6 @@
from superset.connectors.sqla.models import SqlMetric
from superset.utils import core as utils
from .helpers import (
DATA_FOLDER,
get_example_data,
get_slice_json,
merge_slice,
Expand Down
2 changes: 0 additions & 2 deletions superset/data/energy.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
# under the License.
"""Loads datasets, dashboards and slices in a new superset instance"""
# pylint: disable=C,R,W
import gzip
import os
import textwrap

import pandas as pd
Expand Down
5 changes: 1 addition & 4 deletions superset/data/flights.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import gzip
import os

import pandas as pd
from sqlalchemy import DateTime

from superset import db
from superset.utils import core as utils
from .helpers import DATA_FOLDER, get_example_data, TBL
from .helpers import get_example_data, TBL


def load_flights():
Expand Down
3 changes: 0 additions & 3 deletions superset/data/long_lat.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# specific language governing permissions and limitations
# under the License.
import datetime
import gzip
import os
import random

import geohash
Expand All @@ -26,7 +24,6 @@
from superset import db
from superset.utils import core as utils
from .helpers import (
DATA_FOLDER,
get_example_data,
get_slice_json,
merge_slice,
Expand Down
3 changes: 0 additions & 3 deletions superset/data/multiformat_time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import gzip
import os

import pandas as pd
from sqlalchemy import BigInteger, Date, DateTime, String
Expand All @@ -24,7 +22,6 @@
from superset.utils import core as utils
from .helpers import (
config,
DATA_FOLDER,
get_example_data,
get_slice_json,
merge_slice,
Expand Down
4 changes: 1 addition & 3 deletions superset/data/paris.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import gzip
import json
import os

import pandas as pd
from sqlalchemy import String, Text

from superset import db
from superset.utils import core as utils
from .helpers import DATA_FOLDER, get_example_data, TBL
from .helpers import TBL, get_example_data


def load_paris_iris_geojson():
Expand Down
3 changes: 0 additions & 3 deletions superset/data/random_time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import gzip
import os

import pandas as pd
from sqlalchemy import DateTime
Expand All @@ -24,7 +22,6 @@
from superset.utils import core as utils
from .helpers import (
config,
DATA_FOLDER,
get_example_data,
get_slice_json,
merge_slice,
Expand Down
4 changes: 1 addition & 3 deletions superset/data/sf_population_polygons.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import gzip
import json
import os

import pandas as pd
from sqlalchemy import BigInteger, Text

from superset import db
from superset.utils import core as utils
from .helpers import DATA_FOLDER, get_example_data, TBL
from .helpers import TBL, get_example_data


def load_sf_population_polygons():
Expand Down
2 changes: 0 additions & 2 deletions superset/data/unicode_test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# under the License.
import datetime
import json
import os
import random

import pandas as pd
Expand All @@ -27,7 +26,6 @@
from .helpers import (
config,
Dash,
DATA_FOLDER,
get_example_data,
get_slice_json,
merge_slice,
Expand Down
1 change: 0 additions & 1 deletion superset/data/world_bank.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# under the License.
"""Loads datasets, dashboards and slices in a new superset instance"""
# pylint: disable=C,R,W
import gzip
import json
import os
import textwrap
Expand Down

0 comments on commit 2a50665

Please sign in to comment.