Skip to content

Commit

Permalink
remove utf8 declaration (#6096)
Browse files Browse the repository at this point in the history
  • Loading branch information
timifasubaa authored and mistercrunch committed Oct 15, 2018
1 parent 68ff4e5 commit 46c8667
Show file tree
Hide file tree
Showing 154 changed files with 0 additions and 155 deletions.
2 changes: 0 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# superset documentation build configuration file, created by
# sphinx-quickstart on Thu Dec 17 15:42:06 2015.
#
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
console_log==0.2.10
flake8-coding==1.3.0
flake8-commas==2.0.0
flake8-import-order==0.18
flake8-quotes==1.0.0
Expand Down
1 change: 0 additions & 1 deletion scripts/permissions_cleanup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from collections import defaultdict

from superset import sm
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import io
import json
import os
Expand Down
1 change: 0 additions & 1 deletion superset/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
"""Package's main module!"""
import json
Expand Down
1 change: 0 additions & 1 deletion superset/bin/superset
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import warnings
import click
from flask.cli import FlaskGroup
Expand Down
1 change: 0 additions & 1 deletion superset/cache_util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
from flask import request

Expand Down
1 change: 0 additions & 1 deletion superset/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
from datetime import datetime
import logging
Expand Down
1 change: 0 additions & 1 deletion superset/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
"""The main config file for Superset
Expand Down
1 change: 0 additions & 1 deletion superset/connectors/base/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
import json

Expand Down
1 change: 0 additions & 1 deletion superset/connectors/base/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
from flask import Markup

Expand Down
1 change: 0 additions & 1 deletion superset/connectors/connector_registry.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
from sqlalchemy.orm import subqueryload

Expand Down
1 change: 0 additions & 1 deletion superset/connectors/druid/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# -*- coding: utf-8 -*-
from . import models # noqa
from . import views # noqa
1 change: 0 additions & 1 deletion superset/connectors/druid/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
# pylint: disable=invalid-unary-operand-type
from collections import OrderedDict
Expand Down
1 change: 0 additions & 1 deletion superset/connectors/druid/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
from datetime import datetime
import json
Expand Down
1 change: 0 additions & 1 deletion superset/connectors/sqla/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# -*- coding: utf-8 -*-
from . import models # noqa
from . import views # noqa
1 change: 0 additions & 1 deletion superset/connectors/sqla/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
from datetime import datetime
import logging
Expand Down
1 change: 0 additions & 1 deletion superset/connectors/sqla/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
"""Views used by the SqlAlchemy connector"""
from flask import flash, Markup, redirect
Expand Down
1 change: 0 additions & 1 deletion superset/dashboard_import_export_util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
from __future__ import absolute_import
from __future__ import division
Expand Down
1 change: 0 additions & 1 deletion superset/dataframe.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
""" Superset wrapper around pandas.DataFrame.
Expand Down
1 change: 0 additions & 1 deletion superset/db_engine_specs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
"""Compatibility layer for different database engines
Expand Down
1 change: 0 additions & 1 deletion superset/db_engines/hive.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
from pyhive import hive
from TCLIService import ttypes
Expand Down
1 change: 0 additions & 1 deletion superset/dict_import_export_util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
import logging

Expand Down
1 change: 0 additions & 1 deletion superset/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W


Expand Down
1 change: 0 additions & 1 deletion superset/extract_table_names.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
#
# Copyright (C) 2016 Andi Albrecht, [email protected]
Expand Down
1 change: 0 additions & 1 deletion superset/forms.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
"""Contains the logic to create cohesive forms on the explore view"""
from flask_appbuilder.fieldwidgets import BS3TextFieldWidget
Expand Down
1 change: 0 additions & 1 deletion superset/import_util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
import logging

Expand Down
1 change: 0 additions & 1 deletion superset/jinja_context.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
"""Defines the templating context for SQL Lab"""
from datetime import datetime, timedelta
Expand Down
1 change: 0 additions & 1 deletion superset/legacy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
"""Code related with dealing with legacy / change management"""
import re
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/env.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
import logging
from logging.config import fileConfig
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Fix wrong constraint on table columns
Revision ID: 1226819ee0e3
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/1296d28ec131_druid_exports.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Adds params to the datasource (druid) table
Revision ID: 1296d28ec131
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/12d55656cbca_is_featured.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""is_featured
Revision ID: 12d55656cbca
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""making audit nullable
Revision ID: 18e88e1cc004
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Adding metric warning_text
Revision ID: 19a814813610
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""adding slug to dash
Revision ID: 1a48a5411020
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/1d2ddd543133_log_dt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""log dt
Revision ID: 1d2ddd543133
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/1e2841a4128_.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""empty message
Revision ID: 1e2841a4128
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import json

from alembic import op
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/2591d77e9831_user_id.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""user_id
Revision ID: 2591d77e9831
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Make creator owners
Revision ID: 27ae655e4247
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Add encrypted password field
Revision ID: 289ce07647b
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""TZ offsets in data sources
Revision ID: 2929af7925ed
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/2fcdcb35e487_saved_queries.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""saved_queries
Revision ID: 2fcdcb35e487
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""adding log model
Revision ID: 315b3f4da9b0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from alembic import op
import sqlalchemy as sa
from superset import db
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Sync DB with the models.py.
Sqlite doesn't support alter on tables, that's why most of the operations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""add_sql_string_to_table
Revision ID: 3c3ffe173e4f
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""database options for sql lab
Revision ID: 41f6a59a61f2
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/430039611635_log_more.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""log more
Revision ID: 430039611635
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/43df8de3a5f4_dash_json.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""empty message
Revision ID: 43df8de3a5f4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""allow_run_sync_async

Revision ID: 4500485bde7d
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/472d2f73dfd4_.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""empty message

Revision ID: 472d2f73dfd4
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/4736ec66ce19_.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""empty message

Revision ID: 4736ec66ce19
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/4e6a06bad7a8_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Init

Revision ID: 4e6a06bad7a8
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""owners_many_to_many

Revision ID: 4fa88fe24e94
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/525c854f0005_log_this_plus.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""log_this_plus

Revision ID: 525c854f0005
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/55179c7f25c7_sqla_descr.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""sqla_descr

Revision ID: 55179c7f25c7
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/5a7bad26f2a7_.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""empty message

Revision ID: 5a7bad26f2a7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Add access_request table to manage requests to access datastores.

Revision ID: 5e4a03ef0bf0
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/6414e83d82b7_.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""empty message

Revision ID: 6414e83d82b7
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/65903709c321_allow_dml.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""allow_dml

Revision ID: 65903709c321
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""update_spatial_params

Revision ID: 67a6ac9b727b
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""add fetch values predicate

Revision ID: 732f1c06bcbf
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""fixing audit fk

Revision ID: 763d4b211ec9
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""empty message

Revision ID: 7dbf98566af7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""results_key to query

Revision ID: 7e3ddad2a00b
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""cache_timeouts

Revision ID: 836c0bf75904
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Adding extra field to Database model

Revision ID: 867bf4f117f9
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/8e80a26a31db_.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""empty message

Revision ID: 8e80a26a31db
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""adjusting key length

Revision ID: 956a063c52b3
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/960c69cb1f5b_.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""add dttm_format related fields in table_columns

Revision ID: 960c69cb1f5b
Expand Down
1 change: 0 additions & 1 deletion superset/migrations/versions/979c03af3341_.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""empty message

Revision ID: 979c03af3341
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""adding favstar model

Revision ID: a2d606a761d9
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""add_result_backend_time_logging

Revision ID: a65458420354
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""query.start_running_time

Revision ID: a6c18f869a4e
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""rewriting url from shortner with new format

Revision ID: a99f2f7c195a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""add impersonate_user to dbs

Revision ID: a9c47e2c1547
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""add_cache_timeout_to_druid_cluster

Revision ID: ab3d66c4246e
Expand Down
Loading

0 comments on commit 46c8667

Please sign in to comment.