potiuk opened a new pull request, #64780:
URL: https://github.com/apache/airflow/pull/64780

   Non-provider mypy checks (airflow-core, task-sdk, airflow-ctl, dev, scripts, 
devel-common) now run
   locally using `uv run --project <PROJECT> --with 
"apache-airflow-devel-common[mypy]"` instead of
   requiring a breeze CI Docker image. This is possible now that `uv.lock` is 
committed to the repo.
   
   These checks are also moved from `pre-push` stage to the default 
`pre-commit` stage so they run
   automatically on every commit (incremental checks on changed files only).
   
   Provider mypy checks remain unchanged (breeze-based).
   
   **Changes:**
   - New scripts `mypy_local.py` and `mypy_local_folder.py` that invoke mypy 
via uv
   - Updated `.pre-commit-config.yaml` files for all non-provider projects
   - Updated `AGENTS.md` and `contributing-docs/08_static_code_checks.rst`
   - Fixed pre-existing mypy errors surfaced by running locally on macOS:
     - `type: ignore[no-redef]` on `tomllib` compat imports (12 files)
     - `type: ignore[attr-defined]` for Linux-only `os.posix_fadvise`
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Claude Opus 4.6)
   
   Generated-by: Claude Code (Claude Opus 4.6) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
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]

Reply via email to