This is an automated email from the ASF dual-hosted git repository.
dongjoon-hyun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark-docker.git
The following commit(s) were added to refs/heads/master by this push:
new 75f9e75 [SPARK-57535] Add `*.pyc` and `*.pyo` to `.gitignore`
75f9e75 is described below
commit 75f9e755807c67794776276d8f5e3e2ceedfa82b
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Jun 18 10:27:27 2026 -0700
[SPARK-57535] 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.8
Closes #128 from dongjoon-hyun/SPARK-57535.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.gitignore | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.gitignore b/.gitignore
index 4c5f206..f4fdef6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
.claude/
+*.pyc
+*.pyo
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]