From 74f18e798e0096eec709cd9746eae27d5432df78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Mon, 27 Mar 2023 10:31:30 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Update=20`.dockerignore`=20and?= =?UTF-8?q?=20`.gitignore`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 167 ++++++++++++++++++++++++++++++++++++++------------ .gitignore | 167 +++++++++++++++++++++++++++++++++++++------------- 2 files changed, 253 insertions(+), 81 deletions(-) diff --git a/.dockerignore b/.dockerignore index 441cfaf..96679aa 100644 --- a/.dockerignore +++ b/.dockerignore @@ -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 __pycache__/ *.py[cod] *$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 ### - **_test.html test_**.html logs/ @@ -38,23 +139,9 @@ plugins/genshin/daily/daily.json metadata/data/ resources/assets/ -### DotEnv ### -.env - - ### private plugins ### plugins/private - -# Unit test / coverage reports -.pytest_cache - ### mtp ### -paimon.session -PaimonBot.session -PaimonBot.session-journal - - -### git ### -.git -.gitignore \ No newline at end of file +paigram.session +paigram.session-journal \ No newline at end of file diff --git a/.gitignore b/.gitignore index 7ee81cb..96679aa 100644 --- a/.gitignore +++ b/.gitignore @@ -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 __pycache__/ *.py[cod] *$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 ### - **_test.html test_**.html logs/ @@ -41,22 +139,9 @@ plugins/genshin/daily/daily.json metadata/data/ resources/assets/ -### Docker ### -redis_data/ -db_data/ -docker-compose.yml - -### DotEnv ### -.env - - ### private plugins ### plugins/private - -# Unit test / coverage reports -.pytest_cache - ### mtp ### paigram.session -paigram.session-journal +paigram.session-journal \ No newline at end of file