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

   ## Summary
   
   Fixes two issues affecting the mypy-scripts static check:
   
   1. **Add apache-airflow-core to scripts mypy dependencies** - The scripts 
package imports from airflow (e.g., `from airflow import __version__`), but 
apache-airflow-core wasn't listed in the mypy dependency group, causing mypy 
type resolution failures.
   2. **Exclude files dir from distribution gitignore check** - Updates the 
gitignore check to exclude the files directory.
   
   ## Test plan
   
   - Run `prek run mypy-scripts --all-files` to verify the mypy-scripts hook 
passes
   - Run `prek run --from-ref main --stage pre-commit` to verify all pre-commit 
checks pass
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Haiku 4.5
   
   Generated-by: Claude Haiku 4.5 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