-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
197 lines (129 loc) · 3.96 KB
/
Copy path.gitignore
File metadata and controls
197 lines (129 loc) · 3.96 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
# ============================================================
# .gitignore (ALL-REPOS)
# ============================================================
# Updated: 2026-08-04
#
# REQ: All professional GitHub project repositories MUST include .gitignore.
# WHY: Keep generated artifacts, local state, secrets, and OS-specific files
# out of the repository.
# ALT: Repository may customize ignores, but MUST preserve universal safety rules.
# === pup-up fragments ===
# WHY: The pup-up (professional Python project updater) may provide temporary configuration fragments for manual merging.
# WHY: Ruff settings belong in the repository's authoritative pyproject.toml.
/pyproject.toml.ruff
# === Logs and generated runtime output ===
# WHY: Ignore logs and runtime output by default; share only project.log for evidence.
*.log
logs/
!/project.log
# === Private notes and local-only files ===
PRIVATE-NOTES.md
PRIVATE_NOTES.md
# === Environment variables and secrets ===
# WHY: Never commit credentials or environment-specific configuration.
*.env
.env
.env.*
# WHY: Commit .env.example as a template showing which variables to set.
# Copy this file to .env and customize.
!.env.example
# === Operating-system files ===
# WHY: OS-generated metadata files should never be tracked.
.AppleDouble
.DS_Store
.LSOverride
.Spotlight-V100/
.Trashes
._*
Icon\r
Thumbs.db
desktop.ini
ehthumbs.db
# === Editors and IDEs ===
# WHY: IDE metadata is machine-local and should not be tracked.
*.code-workspace
.idea/
# === VS Code ===
# WHY: Ignore editor state by default; share only project-level config.
# NOTE: Use .vscode/* (contents), not .vscode/ (directory). Git will not
# re-include a file whose parent directory is excluded.
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
!.vscode/launch.json
!.vscode/tasks.json
!.vscode/*.code-snippets
# === Temporary and swap files ===
# WHY: Temporary and swap files are machine-local noise and create meaningless diffs.
*.swo
*.swp
*.tmp
*~
# === Markup and documentation ===
# WHY: Static site build output is generated.
site/
# === Generic caches ===
# WHY: Generic caches are machine-local and should not be tracked.
.cache/
# === Node dependencies ===
# WHY: Node dependencies are restored from package-lock.json with npm ci.
node_modules/
# REQ.NODE: Do NOT git ignore package-lock.json. Commit it and use it in CI/CD pipelines.
# === Node package-manager caches ===
# WHY: Package-manager caches are machine-local and should not be tracked.
.npm/
.pnpm-store/
.yarn/cache/
.yarn/unplugged/
.yarn/build-state.yml
.yarn/install-state.gz
# === TypeScript and JavaScript build output ===
# WHY: Compiled JavaScript output is generated from TypeScript source.
out/
# WHY: Distribution/build output is generated.
build/
dist/
# WHY: TypeScript incremental build metadata is generated.
*.tsbuildinfo
# === TypeScript and JavaScript tooling caches ===
# WHY: Tooling caches are generated and machine-local.
.eslintcache
.nyc_output/
coverage/
# === VS Code extension test and package output ===
# WHY: VS Code extension test host files are generated by @vscode/test-electron.
.vscode-test/
# WHY: VSIX packages are generated release artifacts.
*.vsix
# === Python environments ===
# WHY: Virtual environments are machine-local and reproducible.
.venv/
venv/
# === Python version files ===
# REQ.PYTHON: Do NOT git ignore uv.lock. Commit it and use it in CI/CD pipelines.
# WHY: Python version when using scm matches any repo depth and any package name.
**/src/**/_version.py
# === Python bytecode ===
# WHY: Python bytecode is generated.
*.pyc
*.pyd
*.pyo
__pycache__/
# === Python build and packaging artifacts ===
# WHY: Build and packaging artifacts are generated.
*.egg
*.egg-info/
*.whl
.eggs/
# === Python tooling caches ===
# WHY: Tooling caches should not be tracked.
.coverage
.coverage.*
.mypy_cache/
.pytest_cache/
.pytype/
.ruff_cache/
.tox/
# === Notebooks ===
# WHY: Notebook checkpoint state is generated.
.ipynb_checkpoints/