This is an automated email from the ASF dual-hosted git repository.

dongjoon-hyun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-connect-swift.git


The following commit(s) were added to refs/heads/main by this push:
     new 763077d  [SPARK-57048] Add `*.pyc` and `*.pyo` to `.gitignore`
763077d is described below

commit 763077d9d6a14e35921f75854085604e9c44689d
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sun May 24 20:58:12 2026 -0700

    [SPARK-57048] 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 #383 from dongjoon-hyun/SPARK-57048.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .gitignore | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitignore b/.gitignore
index c01ecc5..26ebdc5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -71,3 +71,7 @@ fastlane/test_output
 *.swp
 *~
 .DS_Store
+
+## Python
+*.pyc
+*.pyo


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to