Add prek hook to enforce *.iml in distribution .gitignore files#63647
Merged
potiuk merged 1 commit intoapache:mainfrom Mar 15, 2026
Merged
Add prek hook to enforce *.iml in distribution .gitignore files#63647potiuk merged 1 commit intoapache:mainfrom
potiuk merged 1 commit intoapache:mainfrom
Conversation
Adds a pre-commit check that verifies every distribution directory (containing pyproject.toml) has a .gitignore file with a *.iml entry, preventing IntelliJ IDEA module files from being committed.
bugraoz93
approved these changes
Mar 15, 2026
Backport successfully created: v3-1-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
potiuk
added a commit
to potiuk/airflow
that referenced
this pull request
Mar 15, 2026
…he#63647) Adds a pre-commit check that verifies every distribution directory (containing pyproject.toml) has a .gitignore file with a *.iml entry, preventing IntelliJ IDEA module files from being committed.
potiuk
added a commit
that referenced
this pull request
Mar 15, 2026
… files (#63647) (#63668) Adds a pre-commit check that verifies every distribution directory (containing pyproject.toml) has a .gitignore file with a *.iml entry, preventing IntelliJ IDEA module files from being committed. (cherry picked from commit 0355644) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a pre-commit check that verifies every distribution directory
(containing pyproject.toml) has a .gitignore file with a
*.imlentry,preventing IntelliJ IDEA module files from being committed.
This complements #63636 which added
*.imlto all existing distribution.gitignorefiles — this hook ensures new distributions also include it.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Claude Opus 4.6) following the guidelines