Closed
Description
Body
We have migrated mypy to 1.16.1, now we can cleanup type ignores where possible.
- airflow core @gopidesupavan Cleanup mypy ignore in airflow-core where possible #53289
- airflow-ctl @gopidesupavan Cleanup mypy ignore in airflow-ctl where possible and replace misc with prop-decorator #53310
- airbyte
- alibaba @mingdaoy Cleanup type ignores in alibaba provider #53299
- amazon @gopidesupavan - Cleanup type ignores in amazon provider where possible #53239
- beam @mingdaoy Cleanup type ignores in apache/beam provider #53303
- cassandra
- drill @mingdaoy Cleanup type ignores in apache/drill provider #53304 Clean up mypy ignores in drill provider #53320
- druid
- flink
- hdfs
- hive @mingdaoy Cleanup type ignores in apache/hive provider #53302
- iceberg
- impala
- kafka @mingdaoy Cleanup type ignores in apache/kafka provider #53300
- kylin @gopidesupavan Cleanup mypy ignore in apache/kylin provider where possible #53317
- livy
- pig
- pinot @kyungjunleeme Cleanup type ignores in apache/pinot provider #53311
- spark @mingdaoy Cleanup type ignores in apache/spark provider #53301
- tinkerpop @kyungjunleeme Cleanup type ignores in apache/tinkerpop provider #53305
- apprise
- arangodb
- asana
- atlassian @gopidesupavan Cleanup mypy ignores atlasian jira provider where possible #53263
- celery @gopidesupavan Cleanup mypy ignores in celery provider #53261
- cloudant
- cncf @gopidesupavan Cleanup mypy ignores cncf provider where possible #53264
- cohere
- common.sql @mingdaoy Cleanup type ignores in common/sql provider #53297
- common.io @mingdaoy Cleanup type ignores in common/io provider #53298
- common.messaging @mingdaoy (checked no changes needed)
- common/io @mingdaoy Cleanup type ignores in common/io provider #53298
- databricks @gopidesupavan Cleanup mypy ignores in databricks provider where possible #53265
- datadog @gopidesupavan Cleanup mypy ignore in datadog provider where possible #53268
- dbt @gopidesupavan Cleanup mypy ignore in dbt provider where possible #53270
- dingding @gopidesupavan Cleanup mypy ignores in dingding provider #53259
- discord
- docker @Cleanup mypy ignore in docker provider where possible #53273
- edge3 @jscheffl Cleanup type ignores in edge3 provider where possible #53248
- elasticsearch @gopidesupavan Cleanup mypy ignore in elasticsearch provider where possible #53277
- exasol @gopidesupavan Cleanup mypy ignore in exasol provider where possible #53278
- fab @gopidesupavan Cleanup mypy ignore in fab provider where possible #53282
- ftp @mingdaoy Cleanup type ignores in ftp provider #53296
- git
- github @mingdaoy Cleanup type ignores in github provider where possible #53291
- google @gopidesupavan - Clean up mypy ignores in google provider #53249
- grpc @mingdaoy Cleanup type ignores in grpc provider #53293
- hashicorp
- http @mingdaoy Cleanup type ignores in http provider #53294
- imap
- influxdb @mingdaoy Cleanup type ignores in influxdb provider #53295
- jdbc
- jenkins @mingdaoy Cleanup type ignores in jenkins provider where possible #53292
- keycloak
- microsoft @jscheffl - Cleanup type ignores in 4 microsoft providers where possible #53312
- mongo
- mysql @jscheffl - Cleanup type ignores in mysql provider where possible #53288
- neo4j @jscheffl - Cleanup type ignores in neo4j provider where possible #53287
- odbc
- openai @jscheffl - Cleanup type ignores in openai provider where possible #53285
- openfaas
- openlineage @jscheffl - Cleanup type ignores in openlineage provider where possible #53284
- opensearch @jscheffl - Cleanup type ignores in opensearch provider where possible #53283
- opsgenie @jscheffl - Cleanup type ignores in opsgenie provider where possible #53281
- oracle @jscheffl - Cleanup type ignores in oracle provider where possible #53280
- pagerduty
- papermill @jscheffl - Cleanup type ignores in papermill provider where possible #53279
- pgvector
- pinecone @jscheffl - Cleanup type ignores in pinecone provider where possible #53276
- postgres @jscheffl - Cleanup type ignores in postgres provider where possible #53275
- presto @jscheffl - Cleanup type ignores in presto provider where possible #53274
- qdrant
- redis @jscheffl - Cleanup type ignores in redis provider where possible #53272
- salesforce @jscheffl - Cleanup type ignores in salesforce provider where possible #53271
- samba @jscheffl - Cleanup type ignores in samba provider where possible #53269
- segment @jscheffl - Cleanup type ignores in segment provider where possible #53267
- sendgrid
- sftp @jscheffl - Cleanup type ignores in sftp provider where possible #53266
- singularity @jscheffl - Cleanup type ignores in singularity provider where possible #53262
- slack - all included in Remove type ignore across codebase after mypy upgrade #53243
- smtp @jscheffl - Cleanup type ignores in smtp provider where possible #53260
- snowflake @jscheffl - Cleanup type ignores in snowflake provider where possible #53258
- sqlite - all included in Remove type ignore across codebase after mypy upgrade #53243
- ssh @jscheffl - Cleanup type ignores in ssh provider where possible #53257
- standard @gopidesupavan Cleanup mypy ignore in standard provider where possible #53308
- tableau @jscheffl - Cleanup type ignores in tableau provider where possible #53256
- telegram @jscheffl - Cleanup type ignores in telegram provider where possible #53255
- teradata @jscheffl - Cleanup type ignores in teradata provider where possible #53254
- trino @jscheffl - Cleanup type ignores in trino provider where possible #53253
- vertica @jscheffl - Cleanup type ignores in vertica provider where possible #53252
- weaviate - all included in Remove type ignore across codebase after mypy upgrade #53243
- yandex @jscheffl - Cleanup type ignores in yandex provider where possible #53251
- ydb @jscheffl - Cleanup type ignores in ydb provider where possible #53250
- zendesk - all included in Remove type ignore across codebase after mypy upgrade #53243
- dev breeze @gopidesupavan Cleanup mypy ignore in dev where possible #53313
- devel-common @gopidesupavan Cleanup mypy ignore in devel-common where possible #53314
Follow the below steps
- Build lates ci image with
breeze build ci-imgae --python 3.10
- export SHOW_UNUSED_MYPY_WARNINGS=true
- Run the ./scripts/ci/pre_commit/mypy_folder.py {Provider Name}
This will show what are all possible type ignores we can remove.
An example output looks like this.

Remove all the unused type ignores and run it again see if anything breaks
Raise a PR with title Cleanup type ignores in <provider> provider where possible
ref PR: #53239
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.