chore(pylint): Reenable too-many-lines check (#16287)

Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
John Bodley 2021-09-13 13:22:19 -07:00 committed by GitHub
parent c6ac10716a
commit 1669947bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 12 additions and 5 deletions

View File

@ -84,7 +84,6 @@ enable=
# --disable=W" # --disable=W"
disable= disable=
missing-docstring, missing-docstring,
too-many-lines,
duplicate-code, duplicate-code,
unspecified-encoding, unspecified-encoding,
# re-enable once this no longer raises false positives # re-enable once this no longer raises false positives

View File

@ -14,6 +14,7 @@
# KIND, either express or implied. See the License for the # KIND, either express or implied. See the License for the
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
# pylint: disable=too-many-lines
import json import json
import logging import logging
from datetime import datetime from datetime import datetime

View File

@ -14,6 +14,7 @@
# KIND, either express or implied. See the License for the # KIND, either express or implied. See the License for the
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
# pylint: disable=too-many-lines
from typing import Any, Dict from typing import Any, Dict
from flask_babel import gettext as _ from flask_babel import gettext as _

View File

@ -20,6 +20,7 @@ All configuration in this file can be overridden by providing a superset_config
in your PYTHONPATH as there is a ``from superset_config import *`` in your PYTHONPATH as there is a ``from superset_config import *``
at the end of this file. at the end of this file.
""" """
# pylint: disable=too-many-lines
import imp # pylint: disable=deprecated-module import imp # pylint: disable=deprecated-module
import importlib.util import importlib.util
import json import json

View File

@ -14,6 +14,7 @@
# KIND, either express or implied. See the License for the # KIND, either express or implied. See the License for the
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
# pylint: disable=too-many-lines
import dataclasses import dataclasses
import json import json
import logging import logging

View File

@ -14,6 +14,7 @@
# KIND, either express or implied. See the License for the # KIND, either express or implied. See the License for the
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
# pylint: disable=too-many-lines
import json import json
import logging import logging
from datetime import datetime from datetime import datetime

View File

@ -14,7 +14,7 @@
# KIND, either express or implied. See the License for the # KIND, either express or implied. See the License for the
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
# pylint: disable=unused-argument # pylint: disable=too-many-lines,unused-argument
import json import json
import logging import logging
import re import re

View File

@ -14,6 +14,7 @@
# KIND, either express or implied. See the License for the # KIND, either express or implied. See the License for the
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
# pylint: disable=too-many-lines
import logging import logging
import re import re
import textwrap import textwrap

View File

@ -15,6 +15,7 @@
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
"""This module contains data related to countries and is used for geo mapping""" """This module contains data related to countries and is used for geo mapping"""
# pylint: disable=too-many-lines
from typing import Any, Dict, List, Optional from typing import Any, Dict, List, Optional
countries: List[Dict[str, Any]] = [ countries: List[Dict[str, Any]] = [

View File

@ -14,7 +14,7 @@
# KIND, either express or implied. See the License for the # KIND, either express or implied. See the License for the
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
# pylint: disable=too-few-public-methods # pylint: disable=too-few-public-methods,too-many-lines
"""A set of constants and methods to manage permissions and security""" """A set of constants and methods to manage permissions and security"""
import logging import logging
import re import re

View File

@ -15,6 +15,7 @@
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
"""Utility functions used across Superset""" """Utility functions used across Superset"""
# pylint: disable=too-many-lines
import collections import collections
import decimal import decimal
import errno import errno

View File

@ -14,7 +14,7 @@
# KIND, either express or implied. See the License for the # KIND, either express or implied. See the License for the
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
# pylint: disable=comparison-with-callable, line-too-long # pylint: disable=comparison-with-callable,line-too-long,too-many-lines
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -14,7 +14,7 @@
# KIND, either express or implied. See the License for the # KIND, either express or implied. See the License for the
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
# pylint: disable=C,R,W,useless-suppression # pylint: disable=C,R,W,too-many-lines,useless-suppression
"""This module contains the 'Viz' objects """This module contains the 'Viz' objects
These objects represent the backend of all the visualizations that These objects represent the backend of all the visualizations that