Move overlapping pylint rules to ruff, disable mypy overlap (#94359)

This commit is contained in:
Franck Nijhof
2023-06-27 17:42:46 +02:00
committed by GitHub
parent 7c676c0a7d
commit 3e85a29b86
88 changed files with 537 additions and 357 deletions

View File

@ -530,11 +530,10 @@ def setup_connection_for_dialect(
version,
)
else:
if not version or version < MIN_VERSION_MYSQL:
_fail_unsupported_version(
version or version_string, "MySQL", MIN_VERSION_MYSQL
)
elif not version or version < MIN_VERSION_MYSQL:
_fail_unsupported_version(
version or version_string, "MySQL", MIN_VERSION_MYSQL
)
slow_range_in_select = bool(
not version