🎨 Update .dockerignore and .gitignore

This commit is contained in:
洛水居室 2023-03-27 10:31:30 +08:00
parent db2741b515
commit 74f18e798e
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC
2 changed files with 253 additions and 81 deletions

View File

@ -1,33 +1,134 @@
### Code Editor ###
# VSCode
.vscode/
*.code-workspace
.history
.ionide
# Pycharm
*.iws
.idea/
out/
### Python ###
# Environments
env/
venv/
cache/
temp/
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/
*.py[cod] *.py[cod]
*$py.class *$py.class
*.pyo
*.pyc # C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
### Customize ### ### Customize ###
**_test.html **_test.html
test_**.html test_**.html
logs/ logs/
@ -38,23 +139,9 @@ plugins/genshin/daily/daily.json
metadata/data/ metadata/data/
resources/assets/ resources/assets/
### DotEnv ###
.env
### private plugins ### ### private plugins ###
plugins/private plugins/private
# Unit test / coverage reports
.pytest_cache
### mtp ### ### mtp ###
paimon.session paigram.session
PaimonBot.session paigram.session-journal
PaimonBot.session-journal
### git ###
.git
.gitignore

167
.gitignore vendored
View File

@ -1,36 +1,134 @@
### Code Editor ###
# VSCode
.vscode/
*.code-workspace
.history
.ionide
# Pycharm
*.iws
.idea/
out/
# macOS Finder
**/.DS_Store
### Python ###
# Environments
env/
venv/
cache/
temp/
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/
*.py[cod] *.py[cod]
*$py.class *$py.class
*.pyo
*.pyc # C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
### Customize ### ### Customize ###
**_test.html **_test.html
test_**.html test_**.html
logs/ logs/
@ -41,22 +139,9 @@ plugins/genshin/daily/daily.json
metadata/data/ metadata/data/
resources/assets/ resources/assets/
### Docker ###
redis_data/
db_data/
docker-compose.yml
### DotEnv ###
.env
### private plugins ### ### private plugins ###
plugins/private plugins/private
# Unit test / coverage reports
.pytest_cache
### mtp ### ### mtp ###
paigram.session paigram.session
paigram.session-journal paigram.session-journal