Skip to content

Commit 0b6869e

Browse files
committed
[SPARK-57079] Add *.pyc and *.pyo to .gitignore
### What changes were proposed in this pull request? This PR aims to add `*.pyc` and `*.pyo` to `.gitignore` to exclude Python bytecode files from being tracked by Git. ### Why are the changes needed? Like Apache Spark main repository, to prevent accidental commits of Python compiled bytecode files (`*.pyc`, `*.pyo`) that may be generated when running Python scripts in this repository (e.g., `dev/spark_jira_utils.py`). https://github.com/apache/spark/blob/30bdf0b39fa6b28ea149ddd43ecd962b2b3c0cd2/.gitignore#L6-L7 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual review of `.gitignore`. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 4.7 Closes #691 from dongjoon-hyun/SPARK-57079. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent 3a45bd3 commit 0b6869e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
*.swp
22
*~
3+
*.pyc
4+
*.pyo
35
.java-version
46
.DS_Store
57
.idea/

0 commit comments

Comments
 (0)