1+ # Created by https://www.toptal.com/developers/gitignore/api/python
2+ # Edit at https://www.toptal.com/developers/gitignore?templates=python
3+
4+ # ## Python ###
15# Byte-compiled / optimized / DLL files
26__pycache__ /
3- * .py [codz ]
7+ * .py [cod ]
48* $py.class
59
610# C extensions
@@ -46,7 +50,7 @@ htmlcov/
4650nosetests.xml
4751coverage.xml
4852* .cover
49- * .py. cover
53+ * .py, cover
5054.hypothesis /
5155.pytest_cache /
5256cover /
@@ -94,35 +98,20 @@ ipython_config.py
9498# install all needed dependencies.
9599# Pipfile.lock
96100
97- # UV
98- # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99- # This is especially recommended for binary packages to ensure reproducibility, and is more
100- # commonly ignored for libraries.
101- # uv.lock
102-
103101# poetry
104102# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105103# This is especially recommended for binary packages to ensure reproducibility, and is more
106104# commonly ignored for libraries.
107105# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108106# poetry.lock
109- # poetry.toml
110107
111108# pdm
112109# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
113- # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
114- # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
115110# pdm.lock
116- # pdm.toml
117- .pdm-python
118- .pdm-build /
119-
120- # pixi
121- # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
122- # pixi.lock
123- # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
124- # in the .venv directory. It is recommended not to include this directory in version control.
125- .pixi
111+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
112+ # in version control.
113+ # https://pdm.fming.dev/#use-with-ide
114+ .pdm.toml
126115
127116# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
128117__pypackages__ /
@@ -136,7 +125,6 @@ celerybeat.pid
136125
137126# Environments
138127.env
139- .envrc
140128.venv
141129env /
142130venv /
@@ -175,33 +163,18 @@ cython_debug/
175163# option (not recommended) you can uncomment the following to ignore the entire idea folder.
176164# .idea/
177165
178- # Abstra
179- # Abstra is an AI-powered process automation framework.
180- # Ignore directories containing user credentials, local state, and settings.
181- # Learn more at https://abstra.io/docs
182- .abstra /
183-
184- # Visual Studio Code
185- # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
186- # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
187- # and can be added to the global gitignore or merged into this file. However, if you prefer,
188- # you could uncomment the following to ignore the entire vscode folder
189- # .vscode/
166+ # ## Python Patch ###
167+ # Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
168+ poetry.toml
190169
191- # Ruff stuff:
170+ # ruff
192171.ruff_cache /
193172
194- # PyPI configuration file
195- .pypirc
173+ # LSP config files
174+ pyrightconfig.json
196175
197- # Cursor
198- # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
199- # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
200- # refer to https://docs.cursor.com/context/ignore-files
201- .cursorignore
202- .cursorindexingignore
176+ # End of https://www.toptal.com/developers/gitignore/api/python
203177
204- # Marimo
205- marimo /_static /
206- marimo /_lsp /
207- __marimo__ /
178+ # DOTENV
179+ .env.prod
180+ .env.dev
0 commit comments