chore: upgrade dev dependencies mypy and ruff (#13375)

This commit is contained in:
Aseem Bansal 2025-05-02 15:02:00 +05:30 committed by GitHub
parent 7f681ee339
commit 42aeed074f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 19 additions and 19 deletions

View File

@ -40,8 +40,8 @@ def get_long_description():
lint_requirements = {
# This is pinned only to avoid spurious errors in CI.
# We should make an effort to keep it up to date.
"ruff==0.11.6",
"mypy==1.12.1",
"ruff==0.11.7",
"mypy==1.14.1",
}
base_requirements = {

View File

@ -73,7 +73,7 @@ dev_requirements = {
*base_requirements,
*mypy_stubs,
"coverage>=5.1",
"ruff==0.11.6",
"ruff==0.11.7",
# Updating mypy was causing a conflict with pydantic so cannot upgrade
"mypy==1.10.1",
# pydantic 1.8.2 is incompatible with mypy 0.910.

View File

@ -54,8 +54,8 @@ base_dev_requirements = {
"dagster-snowflake >= 0.11.0",
"dagster-snowflake-pandas >= 0.11.0",
"coverage>=5.1",
"ruff==0.11.6",
"mypy==1.12.1",
"ruff==0.11.7",
"mypy==1.14.1",
# pydantic 1.8.2 is incompatible with mypy 0.910.
# See https://github.com/samuelcolvin/pydantic/pull/3175#issuecomment-995382910.
"pydantic>=1.10.0,!=1.10.3",

View File

@ -59,8 +59,8 @@ base_dev_requirements = {
*base_requirements,
*mypy_stubs,
"coverage>=5.1",
"ruff==0.11.6",
"mypy==1.12.1",
"ruff==0.11.7",
"mypy==1.14.1",
# pydantic 1.8.2 is incompatible with mypy 0.910.
# See https://github.com/samuelcolvin/pydantic/pull/3175#issuecomment-995382910.
"pydantic>=1.10.0,!=1.10.3",

View File

@ -56,8 +56,8 @@ dev_requirements = {
*base_requirements,
*mypy_stubs,
"coverage>=5.1",
"ruff==0.11.6",
"mypy==1.12.1",
"ruff==0.11.7",
"mypy==1.14.1",
# pydantic 1.8.2 is incompatible with mypy 0.910.
# See https://github.com/samuelcolvin/pydantic/pull/3175#issuecomment-995382910.
"pydantic>=1.10",

View File

@ -614,8 +614,8 @@ debug_requirements = {
lint_requirements = {
# This is pinned only to avoid spurious errors in CI.
# We should make an effort to keep it up to date.
"ruff==0.11.6",
"mypy==1.12.1",
"ruff==0.11.7",
"mypy==1.14.1",
}
base_dev_requirements = {

View File

@ -67,10 +67,10 @@ TableKey = namedtuple("TableKey", ["schema", "table"])
class HiveMetastoreConfigMode(StrEnum):
hive: str = "hive"
presto: str = "presto"
presto_on_hive: str = "presto-on-hive"
trino: str = "trino"
hive = "hive"
presto = "presto"
presto_on_hive = "presto-on-hive"
trino = "trino"
@dataclass

View File

@ -3,6 +3,6 @@ pytest-dependency>=0.5.1
pyspark==3.5.3
-e ../../metadata-ingestion[iceberg-catalog]
# libaries for linting below this
mypy==1.12.1
ruff==0.11.6
mypy==1.14.1
ruff==0.11.7

View File

@ -9,8 +9,8 @@ joblib
pytest-xdist
networkx
# libaries for linting below this
mypy==1.12.1
ruff==0.11.6
mypy==1.14.1
ruff==0.11.7
# stub version are copied from metadata-ingestion/setup.py and that should be the source of truth
types-requests>=2.28.11.6,<=2.31.0.3
types-PyYAML