Skip to content

Commit

Permalink
upgraded dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alvertogit committed Oct 6, 2024
1 parent 7021176 commit 7ce7104
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.7
rev: v0.6.9
hooks:
# Run the linter.
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ It is possible to execute tests of [Flask] microservice created with [pytest] fr
~/app# make test
...
============================= test session starts ==============================
platform linux -- Python 3.12.5, pytest-8.3.2, pluggy-1.5.0
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /app/tests
collected 2 items

Expand Down
3 changes: 1 addition & 2 deletions app/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from config import config
from flask import Flask, render_template

from .api import api
from .model import init_model


Expand All @@ -21,8 +22,6 @@ def create_app(config_name="default"):
with app.app_context():
app.config["model"] = init_model()

from .api import api

app.register_blueprint(api, url_prefix="/api")

@app.route("/dlflask", methods=["GET"])
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Flask==3.0.3
gunicorn==23.0.0
numpy==1.26.4
Pillow==10.4.0
pre-commit==3.8.0
pre-commit==4.0.0
pur==7.3.2
pytest==8.3.3
requests==2.32.3
ruff==0.6.7
ruff==0.6.9
scikit-image==0.24.0
tensorflow==2.17.0

0 comments on commit 7ce7104

Please sign in to comment.