Skip to content

Commit e4ad771

Browse files
authored
Create .gitignore for Python project
Add common Python-related entries to .gitignore
1 parent 77c66de commit e4ad771

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.gitignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Byte-compiled Python files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# Virtual environments
7+
env/
8+
venv/
9+
.venv/
10+
11+
# Jupyter notebook checkpoints
12+
.ipynb_checkpoints/
13+
14+
# Local settings
15+
*.local
16+
*.log
17+
18+
# macOS files
19+
.DS_Store
20+
21+
# Windows files
22+
Thumbs.db
23+
24+
# Python packaging
25+
build/
26+
dist/
27+
*.egg-info/
28+
29+
# Temporary data
30+
*.tmp
31+
*.bak
32+
*.swp

0 commit comments

Comments
 (0)