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/.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: 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')}"