Skip to content

Commit c038c17

Browse files
chore: Remove .venv and add comprehensive .gitignore
- Remove .venv/ from git tracking (thousands of files) - Add comprehensive .gitignore patterns for: - Python virtual environments (.venv, venv, env) - Python cache files (__pycache__, *.pyc) - IDE files (.vscode, .idea, *.iml) - OS files (.DS_Store, Thumbs.db) - Build artifacts (dist, build, *.egg-info) - Environment files (.env, *.env) - Database files (*.db, *.sqlite) - Testing files (.pytest_cache, .coverage) - Machine learning files (*.h5, *.pkl, *.pt) - Documentation auto-generated files - Temporary files and logs This reduces repository size significantly and prevents unnecessary files from being tracked. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
1 parent 19e5d7d commit c038c17

754 files changed

Lines changed: 251 additions & 211904 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 251 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,218 @@
11
# ===========================================
2-
# Temporary Files & Documentation (Not for tracking)
2+
# Python Virtual Environments
33
# ===========================================
4+
.venv/
5+
venv/
6+
env/
7+
ENV/
8+
env.bak/
9+
venv.bak/
10+
virtualenv/
11+
.pyenv/
412

5-
# Issue/Project completion docs
13+
# ===========================================
14+
# Python Cache & Compiled Files
15+
# ===========================================
16+
__pycache__/
17+
*.py[cod]
18+
*$py.class
19+
*.pyo
20+
*.pyd
21+
.Python
22+
*.so
23+
24+
# ===========================================
25+
# Build & Distribution
26+
# ===========================================
27+
build/
28+
develop-eggs/
29+
dist/
30+
downloads/
31+
eggs/
32+
.eggs/
33+
lib/
34+
lib64/
35+
parts/
36+
sdist/
37+
var/
38+
wheels/
39+
*.egg-info/
40+
*.egg
41+
MANIFEST
42+
pip-wheel-metadata/
43+
44+
# ===========================================
45+
# IDE & Editor Files
46+
# ===========================================
47+
# VS Code
48+
.vscode/
49+
*.code-workspace
50+
51+
# PyCharm / IntelliJ
52+
.idea/
53+
*.iml
54+
*.ipr
55+
*.iws
56+
57+
# Sublime Text
58+
*.sublime-project
59+
*.sublime-workspace
60+
61+
# Vim
62+
*.swp
63+
*.swo
64+
*~
65+
.netrwhist
66+
67+
# Emacs
68+
*~
69+
\#*\#
70+
.\#*
71+
72+
# Spyder
73+
.spyderproject
74+
.spyproject
75+
76+
# Rope
77+
.ropeproject
78+
79+
# ===========================================
80+
# Operating System Files
81+
# ===========================================
82+
# macOS
83+
.DS_Store
84+
.AppleDouble
85+
.LSOverride
86+
._*
87+
.DocumentRevisions-V100
88+
.fseventsd
89+
.Spotlight-V100
90+
.TemporaryItems
91+
.Trashes
92+
.VolumeIcon.icns
93+
.com.apple.timemachine.donotpresent
94+
95+
# Windows
96+
Thumbs.db
97+
ehthumbs.db
98+
Desktop.ini
99+
$RECYCLE.BIN/
100+
@eaDir/
101+
*.cab
102+
*.msi
103+
*.msix
104+
105+
# Linux
106+
*~
107+
.fuse_hidden*
108+
.Trash-*
109+
.nfs*
110+
111+
# ===========================================
112+
# Environment & Configuration
113+
# ===========================================
114+
.env
115+
.env.local
116+
.env.*.local
117+
.env.development
118+
.env.test
119+
.env.production
120+
*.env
121+
.local.env
122+
config.local.*
123+
settings.local.py
124+
secrets.json
125+
credentials.json
126+
*.pem
127+
*.key
128+
129+
# ===========================================
130+
# Database Files
131+
# ===========================================
132+
*.db
133+
*.sqlite
134+
*.sqlite3
135+
*.db-shm
136+
*.db-wal
137+
*.dump
138+
*.sql
139+
140+
# ===========================================
141+
# Testing & Coverage
142+
# ===========================================
143+
.pytest_cache/
144+
.coverage
145+
htmlcov/
146+
.tox/
147+
.nox/
148+
nosetests.xml
149+
coverage.xml
150+
*.cover
151+
*.py,cover
152+
.hypothesis/
153+
.phantomjs/
154+
155+
# ===========================================
156+
# myPy & Type Checking
157+
# ===========================================
158+
.mypy_cache/
159+
.dmypy.json
160+
dmypy.json
161+
.pytype/
162+
163+
# ===========================================
164+
# Jupyter Notebook
165+
# ===========================================
166+
.ipynb_checkpoints
167+
*.ipynb
168+
169+
# ===========================================
170+
# Machine Learning & Data Science
171+
# ===========================================
172+
*.h5
173+
*.pkl
174+
*.pth
175+
*.pt
176+
*.ckpt
177+
*.onnx
178+
*.model
179+
*.pb
180+
gpt2/
181+
models/
182+
checkpoints/
183+
184+
# ===========================================
185+
# Large Data Files
186+
# ===========================================
187+
data/*.csv
188+
data/*.json
189+
data/*.txt
190+
!data/.gitkeep
191+
192+
# ===========================================
193+
# Logs & Temporary Files
194+
# ===========================================
195+
*.log
196+
logs/
197+
tmp/
198+
temp/
199+
.tmp/
200+
.temp/
201+
temp_files/
202+
203+
# ===========================================
204+
# Documentation (Auto-generated)
205+
# ===========================================
6206
*_COMPLETE.md
7207
*_ACHIEVED.md
8208
*_SUMMARY.md
9209
*_ENHANCED.md
10210
*_CLEANUP.md
11211
*_GUIDE.md
12-
enhance_*.md
212+
*_ANALYSIS*.md
213+
*_PLAN*.md
214+
*_REPORT*.md
215+
*_REVIEW*.md
13216
ISSUE_*.md
14217
CREATE_*.md
15218
BATCH_*.md
@@ -19,8 +222,11 @@ DUPLICATE_*.md
19222
250_*.md
20223
ALL_*.md
21224
CONTRIBUTOR_*.md
225+
MANUAL_*.md
22226

23-
# Scripts (bulk operations)
227+
# ===========================================
228+
# Scripts (Bulk Operations)
229+
# ===========================================
24230
scripts/
25231
create_*.py
26232
create_*.sh
@@ -32,42 +238,52 @@ generate_*.py
32238
issue_*.py
33239
mass_*.py
34240
automation_*.py
241+
*.sh
242+
!deploy.sh
243+
!setup.sh
35244

36-
# Logs and outputs
37-
*.log
38-
*.txt
39-
*_log.txt
40-
issue_*.txt
41-
/tmp/*.txt
42-
/tmp/*.sh
43-
/tmp/*.py
44-
45-
# Analysis files
46-
*_ANALYSIS*.md
47-
*_PLAN*.md
48-
*_REPORT*.md
49-
*_REVIEW*.md
50-
51-
# Backup files
245+
# ===========================================
246+
# Backup Files
247+
# ===========================================
52248
*.bak
53249
*.backup
54250
*.old
55251
*~
56252

57-
# Temporary directories
58-
tmp/
59-
temp/
60-
.tmp/
61-
.temp/
62-
temp_files/
63-
temporary/
253+
# ===========================================
254+
# Node.js (if used)
255+
# ===========================================
256+
node_modules/
257+
npm-debug.log
258+
yarn-error.log
259+
package-lock.json
260+
yarn.lock
64261

65-
# Shell scripts
66-
*.sh
67-
!deploy.sh
68-
!setup.sh
262+
# ===========================================
263+
# Docker
264+
# ===========================================
265+
docker-compose.yml
266+
Dockerfile
267+
.docker/
69268

70-
# Python automation
71-
automation/
72-
tools/bulk_*.py
73-
tools/generate_*.py
269+
# ===========================================
270+
# Git Files
271+
# ===========================================
272+
.gitattributes
273+
.gitignore
274+
.git/
275+
276+
# ===========================================
277+
# Misc
278+
# ===========================================
279+
*.pdf
280+
*.png
281+
*.jpg
282+
*.jpeg
283+
*.gif
284+
!docs/images/
285+
!README_images/
286+
*.zip
287+
*.tar.gz
288+
*.rar
289+
*.7z

.venv/bin/activate_this.py

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)