Skip to content

Commit

Permalink
[flake8] Ignoring I202 (#7988)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley committed Aug 5, 2019
1 parent d58dbad commit fdb62e9
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion superset/connectors/druid/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# under the License.
# pylint: disable=C,R,W
# pylint: disable=invalid-unary-operand-type
# flake8: noqa I202
from collections import OrderedDict
from copy import deepcopy
from datetime import datetime, timedelta
Expand Down
2 changes: 1 addition & 1 deletion superset/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
if TYPE_CHECKING:
from superset.models.core import Database, BaseDatasource

from superset.utils.core import DatasourceName # noqa: I202
from superset.utils.core import DatasourceName # noqa: E402


class SupersetSecurityListWidget(ListWidget):
Expand Down
1 change: 0 additions & 1 deletion superset/utils/core.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.
# pylint: disable=C,R,W
# flake8: noqa I202
"""Utility functions used across Superset"""
from datetime import date, datetime, time, timedelta
import decimal
Expand Down
1 change: 0 additions & 1 deletion tests/druid_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# flake8: noqa I202
"""Unit tests for Superset"""
from datetime import datetime
import json
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ exclude =
ignore =
E203
E501
I202
W503
W605
import-order-style = google
Expand Down Expand Up @@ -55,7 +56,7 @@ whitelist_externals =
[testenv:black]
commands =
black --check setup.py superset tests
deps =
deps =
-rrequirements-dev.txt

[testenv:cypress-dashboard]
Expand Down Expand Up @@ -154,4 +155,3 @@ envlist =
pylint
license-check
skipsdist = true

0 comments on commit fdb62e9

Please sign in to comment.