mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-25 17:08:29 +00:00
build(ingest): restrict latest mypy version (#3756)
This commit is contained in:
parent
5b5135be0b
commit
c6f3ddf077
@ -124,7 +124,8 @@ plugins: Dict[str, Set[str]] = {
|
||||
"oracle": sql_common | {"cx_Oracle"},
|
||||
"postgres": sql_common | {"psycopg2-binary", "GeoAlchemy2"},
|
||||
"redash": {"redash-toolbelt", "sql-metadata"},
|
||||
"redshift": sql_common | {"sqlalchemy-redshift", "psycopg2-binary", "GeoAlchemy2", "sqllineage"},
|
||||
"redshift": sql_common
|
||||
| {"sqlalchemy-redshift", "psycopg2-binary", "GeoAlchemy2", "sqllineage"},
|
||||
"redshift-usage": sql_common
|
||||
| {"sqlalchemy-redshift", "psycopg2-binary", "GeoAlchemy2"},
|
||||
"sagemaker": aws_common,
|
||||
@ -147,7 +148,6 @@ plugins: Dict[str, Set[str]] = {
|
||||
"sqlalchemy-trino"
|
||||
},
|
||||
"nifi": {"requests"},
|
||||
|
||||
}
|
||||
|
||||
all_exclude_plugins: Set[str] = {
|
||||
@ -183,7 +183,8 @@ base_dev_requirements = {
|
||||
"flake8>=3.8.3",
|
||||
"flake8-tidy-imports>=4.3.0",
|
||||
"isort>=5.7.0",
|
||||
"mypy>=0.901",
|
||||
# Waiting for https://github.com/samuelcolvin/pydantic/pull/3175 before allowing mypy 0.920.
|
||||
"mypy>=0.901,<0.920",
|
||||
"pytest>=6.2.2",
|
||||
"pytest-cov>=2.8.1",
|
||||
"pytest-docker>=0.10.3",
|
||||
@ -303,7 +304,6 @@ entry_points = {
|
||||
"trino = datahub.ingestion.source.sql.trino:TrinoSource",
|
||||
"starburst-trino-usage = datahub.ingestion.source.usage.starburst_trino_usage:TrinoUsageSource",
|
||||
"nifi = datahub.ingestion.source.nifi:NifiSource",
|
||||
|
||||
],
|
||||
"datahub.ingestion.sink.plugins": [
|
||||
"file = datahub.ingestion.sink.file:FileSink",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user