[flake8] Ignoring I202 (#7988)
This commit is contained in:
parent
d58dbad076
commit
fdb62e9865
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
4
tox.ini
4
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue