Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe64de2

Browse files
committed
Rework .gitignore file
Completely revamp file. Mostly update from gh://github/gitignore/ and integrate: * Python * Global/Kate * Global/Vim * Global/VisualStudio * Global/JetBrains
1 parent fc92fb4 commit fe64de2

File tree

1 file changed

+219
-32
lines changed

1 file changed

+219
-32
lines changed

.gitignore

Lines changed: 219 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
1-
# Patch/Diff Files
2-
*.patch
3-
*.diff
4-
1+
# Python .gitignore file from gh://github/gitignore/Python.gitignore
2+
#
53
# Byte-compiled / optimized / DLL files
64
__pycache__/
75
*.py[cod]
8-
.pytest_cache/
96
*$py.class
107

8+
# C extensions
9+
*.so
10+
1111
# Distribution / packaging
12-
.cache
13-
.emacs-project
14-
.installed.cfg
15-
.idea/
16-
*.egg
17-
*.egg-info/
18-
.eggs/
1912
.Python
20-
.tmp/
2113
build/
2214
develop-eggs/
2315
dist/
2416
downloads/
2517
eggs/
18+
.eggs/
2619
lib/
2720
lib64/
2821
parts/
2922
sdist/
3023
var/
24+
wheels/
25+
share/python-wheels/
26+
*.egg-info/
27+
.installed.cfg
28+
*.egg
3129
MANIFEST
3230

3331
# PyInstaller
@@ -36,43 +34,232 @@ MANIFEST
3634
*.manifest
3735
*.spec
3836

39-
# Environment
40-
env*/
41-
venv*/
42-
.env*
43-
.venv*
44-
4537
# Installer logs
4638
pip-log.txt
4739
pip-delete-this-directory.txt
4840

49-
# Spyder project settings
50-
.spyderproject
51-
.spyproject
52-
53-
# mypy
54-
.mypy_cache/
55-
.dmypy.json
56-
dmypy.json
57-
5841
# Unit test / coverage reports
5942
htmlcov/
6043
.tox/
44+
.nox/
6145
.coverage
6246
.coverage.*
6347
.cache
48+
nosetests.xml
6449
coverage.xml
65-
*,cover
50+
*.cover
51+
*.py,cover
6652
.hypothesis/
6753
.pytest_cache/
54+
cover/
55+
56+
# Translations
57+
*.mo
58+
*.pot
59+
60+
# Django stuff:
61+
*.log
62+
local_settings.py
63+
db.sqlite3
64+
db.sqlite3-journal
65+
66+
# Flask stuff:
67+
instance/
68+
.webassets-cache
69+
70+
# Scrapy stuff:
71+
.scrapy
6872

6973
# Sphinx documentation
70-
doc/_build/
7174
docs/_build/
7275

7376
# PyBuilder
77+
.pybuilder/
7478
target/
7579

76-
# Backup files
77-
*~
80+
# Jupyter Notebook
81+
.ipynb_checkpoints
82+
83+
# IPython
84+
profile_default/
85+
ipython_config.py
86+
87+
# pyenv
88+
# For a library or package, you might want to ignore these files since the code is
89+
# intended to run in multiple environments; otherwise, check them in:
90+
.python-version
91+
92+
# pipenv
93+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
94+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
95+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
96+
# install all needed dependencies.
97+
#Pipfile.lock
98+
99+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
100+
__pypackages__/
101+
102+
# Celery stuff
103+
celerybeat-schedule
104+
celerybeat.pid
105+
106+
# SageMath parsed files
107+
*.sage.py
108+
109+
# Environments
110+
.env
111+
.venv
112+
env/
113+
venv/
114+
ENV/
115+
env.bak/
116+
venv.bak/
117+
118+
# Spyder project settings
119+
.spyderproject
120+
.spyproject
121+
122+
# Rope project settings
123+
.ropeproject
124+
125+
# mkdocs documentation
126+
/site
127+
128+
# mypy
129+
.mypy_cache/
130+
.dmypy.json
131+
dmypy.json
132+
133+
# Pyre type checker
134+
.pyre/
135+
136+
# pytype static type analyzer
137+
.pytype/
138+
139+
# Cython debug symbols
140+
cython_debug/
141+
142+
#/-- Python
143+
144+
#--- Kate from gh://github/gitignore/Global/Kate.gitignore
78145
*.kate-swp
146+
.swp.*
147+
#/--- Kate
148+
149+
#--- Vim from gh://github/gitignore/Global/Vim.gitignore
150+
# Swap
151+
[._]*.s[a-v][a-z]
152+
!*.svg # comment out if you don't need vector files
153+
[._]*.sw[a-p]
154+
[._]s[a-rt-v][a-z]
155+
[._]ss[a-gi-z]
156+
[._]sw[a-p]
157+
158+
# Session
159+
Session.vim
160+
Sessionx.vim
161+
162+
# Temporary
163+
.netrwhist
164+
*~
165+
# Auto-generated tag files
166+
tags
167+
# Persistent undo
168+
[._]*.un~
169+
#/--- Vim
170+
171+
#--- VisualStudioCode from gh://github/gitignore/Global/VisualStudioCode.gitignore
172+
.vscode/*
173+
!.vscode/settings.json
174+
!.vscode/tasks.json
175+
!.vscode/launch.json
176+
!.vscode/extensions.json
177+
*.code-workspace
178+
179+
# Local History for Visual Studio Code
180+
.history/
181+
182+
#/--- VisualStudio
183+
184+
#--- JetBrains from gh://github/gitignore/Global/JetBrains.gitignore
185+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
186+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
187+
188+
# User-specific stuff
189+
.idea/**/workspace.xml
190+
.idea/**/tasks.xml
191+
.idea/**/usage.statistics.xml
192+
.idea/**/dictionaries
193+
.idea/**/shelf
194+
195+
# Generated files
196+
.idea/**/contentModel.xml
197+
198+
# Sensitive or high-churn files
199+
.idea/**/dataSources/
200+
.idea/**/dataSources.ids
201+
.idea/**/dataSources.local.xml
202+
.idea/**/sqlDataSources.xml
203+
.idea/**/dynamic.xml
204+
.idea/**/uiDesigner.xml
205+
.idea/**/dbnavigator.xml
206+
207+
# Gradle
208+
.idea/**/gradle.xml
209+
.idea/**/libraries
210+
211+
# Gradle and Maven with auto-import
212+
# When using Gradle or Maven with auto-import, you should exclude module files,
213+
# since they will be recreated, and may cause churn. Uncomment if using
214+
# auto-import.
215+
# .idea/artifacts
216+
# .idea/compiler.xml
217+
# .idea/jarRepositories.xml
218+
# .idea/modules.xml
219+
# .idea/*.iml
220+
# .idea/modules
221+
# *.iml
222+
# *.ipr
223+
224+
# CMake
225+
cmake-build-*/
226+
227+
# Mongo Explorer plugin
228+
.idea/**/mongoSettings.xml
229+
230+
# File-based project format
231+
*.iws
232+
233+
# IntelliJ
234+
out/
235+
236+
# mpeltonen/sbt-idea plugin
237+
.idea_modules/
238+
239+
# JIRA plugin
240+
atlassian-ide-plugin.xml
241+
242+
# Cursive Clojure plugin
243+
.idea/replstate.xml
244+
245+
# Crashlytics plugin (for Android Studio and IntelliJ)
246+
com_crashlytics_export_strings.xml
247+
crashlytics.properties
248+
crashlytics-build.properties
249+
fabric.properties
250+
251+
# Editor-based Rest Client
252+
.idea/httpRequests
253+
254+
# Android studio 3.1+ serialized cache file
255+
.idea/caches/build_file_checksums.ser
256+
257+
#/--- JetBrains
258+
259+
# --------
260+
261+
262+
263+
# Patch/Diff Files
264+
*.patch
265+
*.diff

0 commit comments

Comments
 (0)