mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
chore: Update pylint to 2.17.7 (#25566)
This commit is contained in:
@@ -75,7 +75,6 @@ enable=
|
|||||||
# --disable=W"
|
# --disable=W"
|
||||||
disable=
|
disable=
|
||||||
cyclic-import, # re-enable once this no longer raises false positives
|
cyclic-import, # re-enable once this no longer raises false positives
|
||||||
no-member, # re-enable once this no longer raises false positives. This will become redundant after the min required version is 3.11
|
|
||||||
missing-docstring,
|
missing-docstring,
|
||||||
duplicate-code,
|
duplicate-code,
|
||||||
unspecified-encoding,
|
unspecified-encoding,
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
# -r requirements/development.in
|
# -r requirements/development.in
|
||||||
appnope==0.1.3
|
appnope==0.1.3
|
||||||
# via ipython
|
# via ipython
|
||||||
astroid==2.15.6
|
astroid==2.15.8
|
||||||
# via pylint
|
# via pylint
|
||||||
asttokens==2.2.1
|
asttokens==2.2.1
|
||||||
# via stack-data
|
# via stack-data
|
||||||
@@ -100,7 +100,7 @@ pyhive[hive_pure_sasl]==0.7.0
|
|||||||
# via apache-superset
|
# via apache-superset
|
||||||
pyinstrument==4.4.0
|
pyinstrument==4.4.0
|
||||||
# via -r requirements/development.in
|
# via -r requirements/development.in
|
||||||
pylint==2.17.4
|
pylint==2.17.7
|
||||||
# via -r requirements/development.in
|
# via -r requirements/development.in
|
||||||
python-ldap==3.4.3
|
python-ldap==3.4.3
|
||||||
# via -r requirements/development.in
|
# via -r requirements/development.in
|
||||||
|
|||||||
@@ -329,7 +329,6 @@ def test_sqlalchemy_dialect(
|
|||||||
return engine
|
return engine
|
||||||
|
|
||||||
|
|
||||||
# pylint: disable=too-many-statements
|
|
||||||
def test_database_connectivity(console: Console, engine: Engine) -> None:
|
def test_database_connectivity(console: Console, engine: Engine) -> None:
|
||||||
"""
|
"""
|
||||||
Tests the DB API 2.0 driver.
|
Tests the DB API 2.0 driver.
|
||||||
|
|||||||
@@ -1339,7 +1339,7 @@ class SupersetSecurityManager( # pylint: disable=too-many-public-methods
|
|||||||
from superset.connectors.sqla.models import SqlaTable
|
from superset.connectors.sqla.models import SqlaTable
|
||||||
|
|
||||||
# Check if watched fields have changed
|
# Check if watched fields have changed
|
||||||
table = SqlaTable.__table__
|
table = SqlaTable.__table__ # pylint: disable=no-member
|
||||||
current_dataset = connection.execute(
|
current_dataset = connection.execute(
|
||||||
table.select().where(table.c.id == target.id)
|
table.select().where(table.c.id == target.id)
|
||||||
).one()
|
).one()
|
||||||
|
|||||||
@@ -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-many-lines, invalid-name
|
# pylint: disable=invalid-name
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import contextlib
|
import contextlib
|
||||||
|
|||||||
Reference in New Issue
Block a user