-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitignore
88 lines (76 loc) · 2 KB
/
.gitignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Project 3A: Python ETL Workflow Conversion - .gitignore
# -------------------------------
# ✅ Python Virtual Environments
# -------------------------------
# Ignore all local virtual environments (including external venvs)
venv/
.env/
etl_env/
C:/venvs/
# -------------------------------
# ✅ Database Backups & Dumps
# -------------------------------
*.sql
*.dump
*.bak
# --------------------------------
# ✅ Allow SQL files in sql_queries (ETL pipeline SQL scripts)
# --------------------------------
!sql_queries/**/*.sql
# -------------------------------
# ✅ Logs and Temporary Files
# -------------------------------
logs/
*.log
*.out
*.err
# -------------------------------
# ✅ Python Cache & Compiled Files
# -------------------------------
__pycache__/
*.pyc
*.pyo
*.pyd
# -------------------------------
# ✅ Jupyter Notebook Checkpoints
# -------------------------------
# (if using notebooks/)
notebooks/.ipynb_checkpoints/
# -------------------------------
# ✅ Sensitive Configurations
# -------------------------------
# Ignore environment files containing secrets (DO NOT COMMIT)
.env
secrets.json
etl_pipeline/config/*.yml
etl_pipeline/config/*.json
# -------------------------------
# ✅ Utils Compiled Files (Selective)
# -------------------------------
# Ignore compiled Python files in utils, but keep db_connector.py
etl_pipeline/utils/*.pyc
!etl_pipeline/utils/db_connector.py
# -------------------------------
# ✅ Data Files (Raw, Processed, Staging)
# -------------------------------
data/raw/
data/processed/
data/staging/
data/*.csv
data/*.json
data/*.parquet
# -------------------------------
# ✅ Ignore internal workflow references and documentation (DO NOT COMMIT)
# -------------------------------
.git_workflow.md
developer_notes.md
# -------------------------------
# ✅ VS Code Settings
# -------------------------------
.vscode/
# -------------------------------
# ✅ Test Temporary Files
# -------------------------------
tests/tmp/
tests/etl_tests/tmp/
tests/airflow_tests/tmp/