superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnbod...@apache.org
Subject [incubator-superset] branch master updated: [flake8] Ignoring I202 (#7988)
Date Mon, 05 Aug 2019 22:01:43 GMT
This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new fdb62e9  [flake8] Ignoring I202 (#7988)
fdb62e9 is described below

commit fdb62e9865104f2729f13db879675a2c932bbef8
Author: John Bodley <4567245+john-bodley@users.noreply.github.com>
AuthorDate: Mon Aug 5 15:01:33 2019 -0700

    [flake8] Ignoring I202 (#7988)
---
 superset/connectors/druid/models.py | 1 -
 superset/security.py                | 2 +-
 superset/utils/core.py              | 1 -
 tests/druid_tests.py                | 1 -
 tox.ini                             | 4 ++--
 5 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/superset/connectors/druid/models.py b/superset/connectors/druid/models.py
index 9f37237..4eb38dc 100644
--- a/superset/connectors/druid/models.py
+++ b/superset/connectors/druid/models.py
@@ -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
diff --git a/superset/security.py b/superset/security.py
index 88adc82..bea1571 100644
--- a/superset/security.py
+++ b/superset/security.py
@@ -41,7 +41,7 @@ from superset.exceptions import SupersetSecurityException
 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):
diff --git a/superset/utils/core.py b/superset/utils/core.py
index eb43e3a..69c70f5 100644
--- a/superset/utils/core.py
+++ b/superset/utils/core.py
@@ -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
diff --git a/tests/druid_tests.py b/tests/druid_tests.py
index e275973..d2f231e 100644
--- a/tests/druid_tests.py
+++ b/tests/druid_tests.py
@@ -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
diff --git a/tox.ini b/tox.ini
index e79e1bb..c5d2cf8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -28,6 +28,7 @@ exclude =
 ignore =
     E203
     E501
+    I202
     W503
     W605
 import-order-style = google
@@ -55,7 +56,7 @@ whitelist_externals =
 [testenv:black]
 commands =
     black --check setup.py superset tests
-deps = 
+deps =
     -rrequirements-dev.txt
 
 [testenv:cypress-dashboard]
@@ -154,4 +155,3 @@ envlist =
     pylint
     license-check
 skipsdist = true
-


Mime
View raw message