From 4fae2b5f56f1c7214cbfa26c8efe9d16a654f078 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 23:42:18 +0000 Subject: [PATCH 1/2] [pre-commit.ci] Auto-update from pre-commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v5.0.0) - [github.com/asottile/pyupgrade: v2.32.1 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v2.32.1...v3.17.0) - https://github.com/myint/autoflake → https://github.com/PyCQA/autoflake - [github.com/PyCQA/autoflake: v1.4 → v2.3.1](https://github.com/PyCQA/autoflake/compare/v1.4...v2.3.1) - [github.com/pycqa/isort: 5.10.1 → 5.13.2](https://github.com/pycqa/isort/compare/5.10.1...5.13.2) - [github.com/psf/black: 22.3.0 → 24.10.0](https://github.com/psf/black/compare/22.3.0...24.10.0) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a48a87b..7c6957d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-toml @@ -12,14 +12,14 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v2.32.1 + rev: v3.17.0 hooks: - id: pyupgrade args: - --py3-plus - --keep-runtime-typing - - repo: https://github.com/myint/autoflake - rev: v1.4 + - repo: https://github.com/PyCQA/autoflake + rev: v2.3.1 hooks: - id: autoflake args: @@ -32,7 +32,7 @@ repos: - __init__.py - --remove-duplicate-keys - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.13.2 hooks: - id: isort name: isort (python) @@ -43,7 +43,7 @@ repos: name: isort (pyi) types: [pyi] - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 24.10.0 hooks: - id: black ci: From f7d4dca46fbd4b92c50aabccb889f2559d0dbd24 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 23:42:28 +0000 Subject: [PATCH 2/2] [pre-commit.ci] Auto-fix from pre-commit --- .dockerignore | 2 +- LICENSE | 2 +- firestorefastapi/__init__.py | 1 + firestorefastapi/gunicorn_config.py | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 9712979..14935d2 100644 --- a/.dockerignore +++ b/.dockerignore @@ -161,4 +161,4 @@ $RECYCLE.BIN/ shippable .git -tmp/ \ No newline at end of file +tmp/ diff --git a/LICENSE b/LICENSE index 0715234..bc54876 100644 --- a/LICENSE +++ b/LICENSE @@ -4,4 +4,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/firestorefastapi/__init__.py b/firestorefastapi/__init__.py index 91c5cb2..a765c91 100644 --- a/firestorefastapi/__init__.py +++ b/firestorefastapi/__init__.py @@ -1,4 +1,5 @@ """firestorefastapi""" + import os __version__ = os.getenv("API_TAG_VERSION", "0.1.0") diff --git a/firestorefastapi/gunicorn_config.py b/firestorefastapi/gunicorn_config.py index c6f4f0d..18ec6cd 100644 --- a/firestorefastapi/gunicorn_config.py +++ b/firestorefastapi/gunicorn_config.py @@ -1,4 +1,5 @@ """gunicorn server configuration.""" + import os bind = f":{os.environ.get('PORT', '8080')}"