mirror of https://github.com/apache/superset.git
chore(pylint): Reenable too-many-lines check (#16287)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
parent
c6ac10716a
commit
1669947bcd
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 _
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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]] = [
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue