haseebmalik18 opened a new pull request, #63381:
URL: https://github.com/apache/airflow/pull/63381
Fix mypy silently defaulting to Any on missing imports
- Flip `ignore_missing_imports` from `true` to `false` in `[tool.mypy]`
- Add type stub dev dependencies: `types-jsonschema`, `types-psutil`,
`types-Pygments`, `types-colorama`, `types-WTForms`, `types-mysqlclient`,
`types-gevent`
- Add `[[tool.mypy.overrides]]` with `ignore_missing_imports = true` for 50+
modules without stubs (google.*, kubernetes.*, azure.*, etc.)
- Fix 14 secondary type errors exposed by the flag flip (missing class var
declarations, union type narrowing, platform-specific guards)
closes: #49309
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]