Skip to content

Commit c0e7b20

Browse files
committed
Clean up gitignore
1 parent 5386a6a commit c0e7b20

File tree

1 file changed

+41
-108
lines changed

1 file changed

+41
-108
lines changed

.gitignore

Lines changed: 41 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,5 @@
1-
2-
# Created by https://www.toptal.com/developers/gitignore/api/python,pycharm+all
3-
# Edit at https://www.toptal.com/developers/gitignore?templates=python,pycharm+all
4-
5-
### PyCharm+all ###
6-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
7-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
8-
9-
# User-specific stuff
10-
.idea/**/workspace.xml
11-
.idea/**/tasks.xml
12-
.idea/**/usage.statistics.xml
13-
.idea/**/dictionaries
14-
.idea/**/shelf
15-
16-
# Generated files
17-
.idea/**/contentModel.xml
18-
19-
# Sensitive or high-churn files
20-
.idea/**/dataSources/
21-
.idea/**/dataSources.ids
22-
.idea/**/dataSources.local.xml
23-
.idea/**/sqlDataSources.xml
24-
.idea/**/dynamic.xml
25-
.idea/**/uiDesigner.xml
26-
.idea/**/dbnavigator.xml
27-
28-
# Gradle
29-
.idea/**/gradle.xml
30-
.idea/**/libraries
31-
32-
# Gradle and Maven with auto-import
33-
# When using Gradle or Maven with auto-import, you should exclude module files,
34-
# since they will be recreated, and may cause churn. Uncomment if using
35-
# auto-import.
36-
# .idea/artifacts
37-
# .idea/compiler.xml
38-
# .idea/jarRepositories.xml
39-
# .idea/modules.xml
40-
# .idea/*.iml
41-
# .idea/modules
42-
# *.iml
43-
# *.ipr
44-
45-
# CMake
46-
cmake-build-*/
47-
48-
# Mongo Explorer plugin
49-
.idea/**/mongoSettings.xml
50-
51-
# File-based project format
52-
*.iws
53-
54-
# IntelliJ
55-
out/
56-
57-
# mpeltonen/sbt-idea plugin
58-
.idea_modules/
59-
60-
# JIRA plugin
61-
atlassian-ide-plugin.xml
62-
63-
# Cursive Clojure plugin
64-
.idea/replstate.xml
65-
66-
# Crashlytics plugin (for Android Studio and IntelliJ)
67-
com_crashlytics_export_strings.xml
68-
crashlytics.properties
69-
crashlytics-build.properties
70-
fabric.properties
71-
72-
# Editor-based Rest Client
73-
.idea/httpRequests
74-
75-
# Android studio 3.1+ serialized cache file
76-
.idea/caches/build_file_checksums.ser
77-
78-
### PyCharm+all Patch ###
79-
# Ignores the whole .idea folder and all .iml files
80-
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
81-
82-
.idea/
83-
84-
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
85-
86-
*.iml
87-
modules.xml
88-
.idea/misc.xml
89-
*.ipr
90-
91-
# Sonarlint plugin
92-
.idea/sonarlint
1+
# Created by https://www.toptal.com/developers/gitignore/api/python
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=python
933

944
### Python ###
955
# Byte-compiled / optimized / DLL files
@@ -108,11 +18,12 @@ dist/
10818
downloads/
10919
eggs/
11020
.eggs/
21+
lib/
22+
lib64/
11123
parts/
11224
sdist/
11325
var/
11426
wheels/
115-
pip-wheel-metadata/
11627
share/python-wheels/
11728
*.egg-info/
11829
.installed.cfg
@@ -142,7 +53,7 @@ coverage.xml
14253
*.py,cover
14354
.hypothesis/
14455
.pytest_cache/
145-
pytestdebug.log
56+
cover/
14657

14758
# Translations
14859
*.mo
@@ -163,9 +74,9 @@ instance/
16374

16475
# Sphinx documentation
16576
docs/_build/
166-
doc/_build/
16777

16878
# PyBuilder
79+
.pybuilder/
16980
target/
17081

17182
# Jupyter Notebook
@@ -176,6 +87,8 @@ profile_default/
17687
ipython_config.py
17788

17889
# 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:
17992
.python-version
18093

18194
# pipenv
@@ -186,9 +99,21 @@ ipython_config.py
18699
#Pipfile.lock
187100

188101
# poetry
102+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
103+
# This is especially recommended for binary packages to ensure reproducibility, and is more
104+
# commonly ignored for libraries.
105+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
189106
#poetry.lock
190107

191-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
108+
# pdm
109+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
110+
#pdm.lock
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
115+
116+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
192117
__pypackages__/
193118

194119
# Celery stuff
@@ -199,15 +124,13 @@ celerybeat.pid
199124
*.sage.py
200125

201126
# Environments
202-
# .env
203-
.env/
204-
.venv/
127+
.env
128+
.venv
205129
env/
206130
venv/
207131
ENV/
208132
env.bak/
209133
venv.bak/
210-
pythonenv*
211134

212135
# Spyder project settings
213136
.spyderproject
@@ -230,14 +153,24 @@ dmypy.json
230153
# pytype static type analyzer
231154
.pytype/
232155

233-
# operating system-related files
234-
# file properties cache/storage on macOS
235-
*.DS_Store
236-
# thumbnail cache on Windows
237-
Thumbs.db
156+
# Cython debug symbols
157+
cython_debug/
158+
159+
# PyCharm
160+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
161+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
162+
# and can be added to the global gitignore or merged into this file. For a more nuclear
163+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
164+
.idea/
165+
166+
### Python Patch ###
167+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
168+
poetry.toml
238169

239-
# profiling data
240-
.prof
170+
# ruff
171+
.ruff_cache/
241172

173+
# LSP config files
174+
pyrightconfig.json
242175

243-
# End of https://www.toptal.com/developers/gitignore/api/python,pycharm+all
176+
# End of https://www.toptal.com/developers/gitignore/api/python

0 commit comments

Comments
 (0)