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
93
3
94
4
# ## Python ###
95
5
# Byte-compiled / optimized / DLL files
@@ -108,11 +18,12 @@ dist/
108
18
downloads /
109
19
eggs /
110
20
.eggs /
21
+ lib /
22
+ lib64 /
111
23
parts /
112
24
sdist /
113
25
var /
114
26
wheels /
115
- pip-wheel-metadata /
116
27
share /python-wheels /
117
28
* .egg-info /
118
29
.installed.cfg
@@ -142,7 +53,7 @@ coverage.xml
142
53
* .py,cover
143
54
.hypothesis /
144
55
.pytest_cache /
145
- pytestdebug.log
56
+ cover /
146
57
147
58
# Translations
148
59
* .mo
@@ -163,9 +74,9 @@ instance/
163
74
164
75
# Sphinx documentation
165
76
docs /_build /
166
- doc /_build /
167
77
168
78
# PyBuilder
79
+ .pybuilder /
169
80
target /
170
81
171
82
# Jupyter Notebook
@@ -176,6 +87,8 @@ profile_default/
176
87
ipython_config.py
177
88
178
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:
179
92
.python-version
180
93
181
94
# pipenv
@@ -186,9 +99,21 @@ ipython_config.py
186
99
# Pipfile.lock
187
100
188
101
# 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
189
106
# poetry.lock
190
107
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
192
117
__pypackages__ /
193
118
194
119
# Celery stuff
@@ -199,15 +124,13 @@ celerybeat.pid
199
124
* .sage.py
200
125
201
126
# Environments
202
- # .env
203
- .env /
204
- .venv /
127
+ .env
128
+ .venv
205
129
env /
206
130
venv /
207
131
ENV /
208
132
env.bak /
209
133
venv.bak /
210
- pythonenv *
211
134
212
135
# Spyder project settings
213
136
.spyderproject
@@ -230,14 +153,24 @@ dmypy.json
230
153
# pytype static type analyzer
231
154
.pytype /
232
155
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
238
169
239
- # profiling data
240
- .prof
170
+ # ruff
171
+ .ruff_cache /
241
172
173
+ # LSP config files
174
+ pyrightconfig.json
242
175
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