[flake8] Ignoring I202 (#7988)

This commit is contained in:
John Bodley 2019-08-05 15:01:33 -07:00 committed by GitHub
parent d58dbad076
commit fdb62e9865
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -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):

View File

@ -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

View File

@ -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

View File

@ -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