mlgruby edited a comment on pull request #11107:
URL: https://github.com/apache/airflow/pull/11107#issuecomment-697731167
```sh
MP_DIR=$(mktemp -d); mypy --linecount-report ${MP_DIR} airflow/; cat
"${MP_DIR}/linecount.txt" | grep providers | grep -v example_dags | awk '
$4 != 0 {
split($5, a, ".");
print 100.00 * ($3/$4), a[3]
}'| awk '
{ sum[$2] += $1; N[$2]++ }
END {
for (key in sum) {
avg = sum[key] / N[key];
printf "%f %s\n", avg, key;
}
}' | sort -g
```
Below is the type coverage for FTP provider:
0.000000 dingding
0.000000 opsgenie
0.000000 presto
0.000000 qubole
0.000000 samba
0.000000 zendesk
16.666650 ssh
16.666667 oracle
16.666667 yandex
16.666700 odbc
21.428550 databricks
25.000000 exasol
25.000000 singularity
25.000000 snowflake
27.380950 slack
33.333333 sftp
41.074865 amazon
41.666650 plexus
46.153850 imap
52.078754 microsoft
67.298000 cncf
67.857150 salesforce
69.100860 google
75.000000 jdbc
75.000000 postgres
80.625000 ftp =================> from 71 to 80
83.333300 openfaas
87.421875 apache
87.500000 redis
88.333340 mysql
88.888900 papermill
90.909100 elasticsearch
96.875000 mongo
100.000000 celery
100.000000 cloudant
100.000000 datadog
100.000000 discord
100.000000 docker
100.000000 facebook
100.000000 grpc
100.000000 hashicorp
100.000000 http
100.000000 jenkins
100.000000 jira
100.000000 pagerduty
100.000000 segment
100.000000 sendgrid
100.000000 sqlite
100.000000 vertica
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]