mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-26 09:26:22 +00:00
chore: upgrade dev dependencies mypy and ruff (#13375)
This commit is contained in:
parent
7f681ee339
commit
42aeed074f
@ -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 = {
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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 = {
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user