Skip to content

Commit 6465023

Browse files
authored
chore: generate .gitignore from toptal templates with custom additions (#70)
* chore: add .claude/ to .gitignore Prevent Claude Code settings from being accidentally committed. * chore: generate .gitignore from toptal templates with custom additions
1 parent 01c5ea4 commit 6465023

1 file changed

Lines changed: 223 additions & 120 deletions

File tree

‎.gitignore‎

Lines changed: 223 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,95 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/python,intellij+all,visualstudiocode
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=python,intellij+all,visualstudiocode
3+
4+
### Intellij+all ###
5+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
6+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
7+
8+
# User-specific stuff
9+
.idea/**/workspace.xml
10+
.idea/**/tasks.xml
11+
.idea/**/usage.statistics.xml
12+
.idea/**/dictionaries
13+
.idea/**/shelf
14+
15+
# AWS User-specific
16+
.idea/**/aws.xml
17+
18+
# Generated files
19+
.idea/**/contentModel.xml
20+
21+
# Sensitive or high-churn files
22+
.idea/**/dataSources/
23+
.idea/**/dataSources.ids
24+
.idea/**/dataSources.local.xml
25+
.idea/**/sqlDataSources.xml
26+
.idea/**/dynamic.xml
27+
.idea/**/uiDesigner.xml
28+
.idea/**/dbnavigator.xml
29+
30+
# Gradle
31+
.idea/**/gradle.xml
32+
.idea/**/libraries
33+
34+
# Gradle and Maven with auto-import
35+
# When using Gradle or Maven with auto-import, you should exclude module files,
36+
# since they will be recreated, and may cause churn. Uncomment if using
37+
# auto-import.
38+
# .idea/artifacts
39+
# .idea/compiler.xml
40+
# .idea/jarRepositories.xml
41+
# .idea/modules.xml
42+
# .idea/*.iml
43+
# .idea/modules
44+
# *.iml
45+
# *.ipr
46+
47+
# CMake
48+
cmake-build-*/
49+
50+
# Mongo Explorer plugin
51+
.idea/**/mongoSettings.xml
52+
53+
# File-based project format
54+
*.iws
55+
56+
# IntelliJ
57+
out/
58+
59+
# mpeltonen/sbt-idea plugin
60+
.idea_modules/
61+
62+
# JIRA plugin
63+
atlassian-ide-plugin.xml
64+
65+
# Cursive Clojure plugin
66+
.idea/replstate.xml
67+
68+
# SonarLint plugin
69+
.idea/sonarlint/
70+
71+
# Crashlytics plugin (for Android Studio and IntelliJ)
72+
com_crashlytics_export_strings.xml
73+
crashlytics.properties
74+
crashlytics-build.properties
75+
fabric.properties
76+
77+
# Editor-based Rest Client
78+
.idea/httpRequests
79+
80+
# Android studio 3.1+ serialized cache file
81+
.idea/caches/build_file_checksums.ser
82+
83+
### Intellij+all Patch ###
84+
# Ignore everything but code style settings and run configurations
85+
# that are supposed to be shared within teams.
86+
87+
.idea/*
88+
89+
!.idea/codeStyles
90+
!.idea/runConfigurations
91+
92+
### Python ###
193
# Byte-compiled / optimized / DLL files
294
__pycache__/
395
*.py[cod]
@@ -20,9 +112,17 @@ parts/
20112
sdist/
21113
var/
22114
wheels/
115+
share/python-wheels/
23116
*.egg-info/
24117
.installed.cfg
25118
*.egg
119+
MANIFEST
120+
121+
# PyInstaller
122+
# Usually these files are written by a python script from a template
123+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
124+
*.manifest
125+
*.spec
26126

27127
# Installer logs
28128
pip-log.txt
@@ -31,35 +131,86 @@ pip-delete-this-directory.txt
31131
# Unit test / coverage reports
32132
htmlcov/
33133
.tox/
134+
.nox/
34135
.coverage
35136
.coverage.*
36137
.cache
37138
nosetests.xml
38139
coverage.xml
39-
*,cover
140+
*.cover
141+
*.py,cover
40142
.hypothesis/
143+
.pytest_cache/
144+
cover/
41145

42146
# Translations
43147
*.mo
148+
*.pot
44149

45-
# IDEs
46-
.idea/
47-
.vscode/
48-
*.sublime-project
49-
*.sublime-workspace
50-
*.komodoproject
51-
.komodotools/
52-
.kate-swp/
150+
# Django stuff:
151+
*.log
152+
local_settings.py
153+
db.sqlite3
154+
db.sqlite3-journal
53155

54-
# PyCharm
55-
*.iml
56-
.idea/workspace.xml
57-
.idea/tasks.xml
58-
.idea/dictionaries
156+
# Flask stuff:
157+
instance/
158+
.webassets-cache
159+
160+
# Scrapy stuff:
161+
.scrapy
162+
163+
# Sphinx documentation
164+
docs/_build/
165+
166+
# PyBuilder
167+
.pybuilder/
168+
target/
59169

60170
# Jupyter Notebook
61171
.ipynb_checkpoints
62172

173+
# IPython
174+
profile_default/
175+
ipython_config.py
176+
177+
# pyenv
178+
# For a library or package, you might want to ignore these files since the code is
179+
# intended to run in multiple environments; otherwise, check them in:
180+
# .python-version
181+
182+
# pipenv
183+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
184+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
185+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
186+
# install all needed dependencies.
187+
#Pipfile.lock
188+
189+
# poetry
190+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
191+
# This is especially recommended for binary packages to ensure reproducibility, and is more
192+
# commonly ignored for libraries.
193+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
194+
#poetry.lock
195+
196+
# pdm
197+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
198+
#pdm.lock
199+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
200+
# in version control.
201+
# https://pdm.fming.dev/#use-with-ide
202+
.pdm.toml
203+
204+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
205+
__pypackages__/
206+
207+
# Celery stuff
208+
celerybeat-schedule
209+
celerybeat.pid
210+
211+
# SageMath parsed files
212+
*.sage.py
213+
63214
# Environments
64215
.env
65216
.venv
@@ -68,116 +219,68 @@ venv/
68219
ENV/
69220
env.bak/
70221
venv.bak/
71-
pythonenv*
72-
73-
# macOS
74-
.DS_Store
75-
76-
# Windows
77-
Thumbs.db
78-
ehthumbs.db
79-
80-
# Python Installer
81-
*.msi
82-
*.exe
83-
*.zip
84-
*.tar.gz
85-
*.whl
86-
*.tgz
87-
*.tz
88-
89-
# Sublime Text
90-
*.tmlanguage.cache
91-
*.tmPreferences.cache
92-
*.stTheme.cache
93-
94-
# Node.js
95-
node_modules/
96-
npm-debug.log*
97-
98-
# TypeScript
99-
*.tsbuildinfo
100-
101-
# Yarn
102-
yarn-error.log
103-
104-
# Flutter/Dart
105-
.dart_tool/
106-
.flutter-plugins
107-
.packages
108-
.pub-cache/
109-
/build/
110-
111-
# Android/Android Studio
112-
*.apk
113-
*.aab
114-
*.ap_
115222

116-
# Gradle
117-
build/
223+
# Spyder project settings
224+
.spyderproject
225+
.spyproject
118226

119-
# IntelliJ
120-
out/
227+
# Rope project settings
228+
.ropeproject
121229

122-
# Compiled Python bytecode
123-
__pycache__/
230+
# mkdocs documentation
231+
/site
124232

125-
# Compiled Java bytecode
126-
*.class
233+
# mypy
234+
.mypy_cache/
235+
.dmypy.json
236+
dmypy.json
127237

128-
# Compiled Ruby bytecode
129-
*.class
238+
# Pyre type checker
239+
.pyre/
130240

131-
# Compiled C++ extensions
132-
*.so
241+
# pytype static type analyzer
242+
.pytype/
243+
244+
# Cython debug symbols
245+
cython_debug/
246+
247+
# PyCharm
248+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
249+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
250+
# and can be added to the global gitignore or merged into this file. For a more nuclear
251+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
252+
#.idea/
253+
254+
### Python Patch ###
255+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
256+
poetry.toml
257+
258+
# ruff
259+
.ruff_cache/
260+
261+
# LSP config files
262+
pyrightconfig.json
263+
264+
### VisualStudioCode ###
265+
.vscode/*
266+
!.vscode/settings.json
267+
!.vscode/tasks.json
268+
!.vscode/launch.json
269+
!.vscode/extensions.json
270+
!.vscode/*.code-snippets
271+
272+
# Local History for Visual Studio Code
273+
.history/
274+
275+
# Built Visual Studio Code Extensions
276+
*.vsix
277+
278+
### VisualStudioCode Patch ###
279+
# Ignore all local history of files
280+
.history
281+
.ionide
282+
283+
# End of https://www.toptal.com/developers/gitignore/api/python,intellij+all,visualstudiocode
133284

134-
# Compiled SQLite database files
135-
*.sqlite3
136-
137-
# Compiled fonts
138-
*.ttf
139-
*.otf
140-
141-
# Compiled images
142-
*.jpg
143-
*.jpeg
144-
*.png
145-
*.gif
146-
*.webp
147-
148-
# Compiled audio files
149-
*.mp3
150-
*.ogg
151-
*.flac
152-
*.wav
153-
154-
# Compiled video files
155-
*.mp4
156-
*.mov
157-
*.avi
158-
159-
# Compiled archives and packages
160-
*.zip
161-
*.rar
162-
*.tar
163-
*.gz
164-
*.7z
165-
*.xz
166-
*.bz2
167-
*.iso
168-
*.dmg
169-
*.pkg
170-
*.deb
171-
*.rpm
172-
173-
# Compiled documents
174-
*.pdf
175-
*.doc
176-
*.docx
177-
*.xls
178-
*.xlsx
179-
*.ppt
180-
*.pptx
181-
*.odt
182-
*.ods
183-
*.odp
285+
# Claude Code
286+
.claude/

0 commit comments

Comments
 (0)