Skip to content

Commit ff60709

Browse files
committed
chore: add GitHub gitignore templates for Python, Node, Java
1 parent ae8522a commit ff60709

1 file changed

Lines changed: 380 additions & 0 deletions

File tree

.gitignore

Lines changed: 380 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,380 @@
1+
# =============================================================================
2+
# Python — https://github.com/github/gitignore/blob/main/Python.gitignore
3+
# =============================================================================
4+
5+
# Byte-compiled / optimized / DLL files
6+
__pycache__/
7+
*.py[codz]
8+
*$py.class
9+
10+
# C extensions
11+
*.so
12+
13+
# Distribution / packaging
14+
.Python
15+
build/
16+
develop-eggs/
17+
dist/
18+
downloads/
19+
eggs/
20+
.eggs/
21+
lib/
22+
lib64/
23+
parts/
24+
sdist/
25+
var/
26+
wheels/
27+
share/python-wheels/
28+
*.egg-info/
29+
.installed.cfg
30+
*.egg
31+
MANIFEST
32+
33+
# PyInstaller
34+
# Usually these files are written by a python script from a template
35+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
36+
*.manifest
37+
*.spec
38+
39+
# Installer logs
40+
pip-log.txt
41+
pip-delete-this-directory.txt
42+
43+
# Unit test / coverage reports
44+
htmlcov/
45+
.tox/
46+
.nox/
47+
.coverage
48+
.coverage.*
49+
.cache
50+
nosetests.xml
51+
coverage.xml
52+
*.cover
53+
*.py.cover
54+
.hypothesis/
55+
.pytest_cache/
56+
cover/
57+
58+
# Translations
59+
*.mo
60+
*.pot
61+
62+
# Django stuff:
63+
*.log
64+
local_settings.py
65+
db.sqlite3
66+
db.sqlite3-journal
67+
68+
# Flask stuff:
69+
instance/
70+
.webassets-cache
71+
72+
# Scrapy stuff:
73+
.scrapy
74+
75+
# Sphinx documentation
76+
docs/_build/
77+
78+
# PyBuilder
79+
.pybuilder/
80+
target/
81+
82+
# Jupyter Notebook
83+
.ipynb_checkpoints
84+
85+
# IPython
86+
profile_default/
87+
ipython_config.py
88+
89+
# pyenv
90+
# For a library or package, you might want to ignore these files since the code is
91+
# intended to run in multiple environments; otherwise, check them in:
92+
# .python-version
93+
94+
# pipenv
95+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
97+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
98+
# install all needed dependencies.
99+
#Pipfile.lock
100+
101+
# UV
102+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
103+
# This is especially recommended for binary packages to ensure reproducibility, and is more
104+
# commonly ignored for libraries.
105+
#uv.lock
106+
107+
# poetry
108+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
109+
# This is especially recommended for binary packages to ensure reproducibility, and is more
110+
# commonly ignored for libraries.
111+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
112+
#poetry.lock
113+
#poetry.toml
114+
115+
# pdm
116+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
117+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
118+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
119+
#pdm.lock
120+
#pdm.toml
121+
.pdm-python
122+
.pdm-build/
123+
124+
# pixi
125+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
126+
#pixi.lock
127+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
128+
# in the .venv directory. It is recommended not to include this directory in version control.
129+
.pixi
130+
131+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
132+
__pypackages__/
133+
134+
# Celery stuff
135+
celerybeat-schedule
136+
celerybeat.pid
137+
138+
# SageMath parsed files
139+
*.sage.py
140+
141+
# Environments
142+
.env
143+
.envrc
144+
.venv
145+
env/
146+
venv/
147+
ENV/
148+
env.bak/
149+
venv.bak/
150+
151+
# Spyder project settings
152+
.spyderproject
153+
.spyproject
154+
155+
# Rope project settings
156+
.ropeproject
157+
158+
# mkdocs documentation
159+
/site
160+
161+
# mypy
162+
.mypy_cache/
163+
.dmypy.json
164+
dmypy.json
165+
166+
# Pyre type checker
167+
.pyre/
168+
169+
# pytype static type analyzer
170+
.pytype/
171+
172+
# Cython debug symbols
173+
cython_debug/
174+
175+
# PyCharm
176+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
177+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
178+
# and can be added to the global gitignore or merged into this file. For a more nuclear
179+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
180+
#.idea/
181+
182+
# Abstra
183+
# Abstra is an AI-powered process automation framework.
184+
# Ignore directories containing user credentials, local state, and settings.
185+
# Learn more at https://abstra.io/docs
186+
.abstra/
187+
188+
# Visual Studio Code
189+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
190+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
191+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
192+
# you could uncomment the following to ignore the entire vscode folder
193+
# .vscode/
194+
195+
# Ruff stuff:
196+
.ruff_cache/
197+
198+
# PyPI configuration file
199+
.pypirc
200+
201+
# Cursor
202+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
203+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
204+
# refer to https://docs.cursor.com/context/ignore-files
205+
.cursorignore
206+
.cursorindexingignore
207+
208+
# Marimo
209+
marimo/_static/
210+
marimo/_lsp/
211+
__marimo__/
212+
213+
# =============================================================================
214+
# Node — https://github.com/github/gitignore/blob/main/Node.gitignore
215+
# =============================================================================
216+
217+
# Logs
218+
logs
219+
npm-debug.log*
220+
yarn-debug.log*
221+
yarn-error.log*
222+
lerna-debug.log*
223+
224+
# Diagnostic reports (https://nodejs.org/api/report.html)
225+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
226+
227+
# Runtime data
228+
pids
229+
*.pid
230+
*.seed
231+
*.pid.lock
232+
233+
# Directory for instrumented libs generated by jscoverage/JSCover
234+
lib-cov
235+
236+
# Coverage directory used by tools like istanbul
237+
coverage
238+
*.lcov
239+
240+
# nyc test coverage
241+
.nyc_output
242+
243+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
244+
.grunt
245+
246+
# Bower dependency directory (https://bower.io/)
247+
bower_components
248+
249+
# node-waf configuration
250+
.lock-wscript
251+
252+
# Compiled binary addons (https://nodejs.org/api/addons.html)
253+
build/Release
254+
255+
# Dependency directories
256+
node_modules/
257+
jspm_packages/
258+
259+
# Snowpack dependency directory (https://snowpack.dev/)
260+
web_modules/
261+
262+
# TypeScript cache
263+
*.tsbuildinfo
264+
265+
# Optional npm cache directory
266+
.npm
267+
268+
# Optional eslint cache
269+
.eslintcache
270+
271+
# Optional stylelint cache
272+
.stylelintcache
273+
274+
# Optional REPL history
275+
.node_repl_history
276+
277+
# Output of 'npm pack'
278+
*.tgz
279+
280+
# Yarn Integrity file
281+
.yarn-integrity
282+
283+
# dotenv environment variable files
284+
.env
285+
.env.*
286+
!.env.example
287+
288+
# parcel-bundler cache (https://parceljs.org/)
289+
.cache
290+
.parcel-cache
291+
292+
# Next.js build output
293+
.next
294+
out
295+
296+
# Nuxt.js build / generate output
297+
.nuxt
298+
dist
299+
300+
# Gatsby files
301+
.cache/
302+
# Comment in the public line in if your project uses Gatsby and not Next.js
303+
# https://nextjs.org/blog/next-9-1#public-directory-support
304+
# public
305+
306+
# vuepress build output
307+
.vuepress/dist
308+
309+
# vuepress v2.x temp and cache directory
310+
.temp
311+
.cache
312+
313+
# Sveltekit cache directory
314+
.svelte-kit/
315+
316+
# vitepress build output
317+
**/.vitepress/dist
318+
319+
# vitepress cache directory
320+
**/.vitepress/cache
321+
322+
# Docusaurus cache and generated files
323+
.docusaurus
324+
325+
# Serverless directories
326+
.serverless/
327+
328+
# FuseBox cache
329+
.fusebox/
330+
331+
# DynamoDB Local files
332+
.dynamodb/
333+
334+
# Firebase cache directory
335+
.firebase/
336+
337+
# TernJS port file
338+
.tern-port
339+
340+
# Stores VSCode versions used for testing VSCode extensions
341+
.vscode-test
342+
343+
# yarn v3
344+
.pnp.*
345+
.yarn/*
346+
!.yarn/patches
347+
!.yarn/plugins
348+
!.yarn/releases
349+
!.yarn/sdks
350+
!.yarn/versions
351+
352+
# Vite logs files
353+
vite.config.js.timestamp-*
354+
vite.config.ts.timestamp-*
355+
356+
# =============================================================================
357+
# Java — https://github.com/github/gitignore/blob/main/Java.gitignore
358+
# =============================================================================
359+
360+
# Compiled class file
361+
*.class
362+
363+
# BlueJ files
364+
*.ctxt
365+
366+
# Mobile Tools for Java (J2ME)
367+
.mtj.tmp/
368+
369+
# Package Files #
370+
*.jar
371+
*.war
372+
*.nar
373+
*.ear
374+
*.zip
375+
*.tar.gz
376+
*.rar
377+
378+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
379+
hs_err_pid*
380+
replay_pid*

0 commit comments

Comments
 (0)