diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea6d954..d4e0007 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.6.3 + rev: v0.6.5 hooks: # Run the linter. - id: ruff diff --git a/Dockerfile b/Dockerfile index b93d634..20ce998 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /app COPY requirements.txt /app RUN python3 -m venv . RUN python3 -m pip install pip==24.2 -RUN python3 -m pip install setuptools==74.0.0 +RUN python3 -m pip install setuptools==74.1.2 RUN python3 -m pip install --no-cache-dir -r requirements.txt COPY ./app /app EXPOSE 5000 diff --git a/README.md b/README.md index b89d1db..71a9f8c 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Command to configure virtual environment with [venv]: ~/deeplearning_flask$ python3 -m venv .venv ~/deeplearning_flask$ source .venv/bin/activate (.venv)~/deeplearning_flask$ python3 -m pip install pip==24.2 -(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==74.0.0 +(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==74.1.2 (.venv)~/deeplearning_flask$ python3 -m pip install -r requirements_dev.txt (.venv)~/deeplearning_flask$ pre-commit install ``` diff --git a/pyproject.toml b/pyproject.toml index e1f2f70..b5522c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,18 @@ +[project] +name = "deeplearning_flask" +version = "1.0.0" +authors = [ + { name="alvertogit" }, +] +description = "An example project combining Deep Learning and Flask" +readme = "README.md" +classifiers = [ + "Programming Language :: Python :: 3", +] + +[project.urls] +Homepage = "https://github.com/alvertogit/deeplearning_flask" + [tool.ruff] extend-include = ["*.ipynb"] diff --git a/requirements.txt b/requirements.txt index ae8f4ef..8cea82e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,8 +4,8 @@ numpy==1.26.4 Pillow==10.4.0 pre-commit==3.8.0 pur==7.3.2 -pytest==8.3.2 +pytest==8.3.3 requests==2.32.3 -ruff==0.6.3 +ruff==0.6.5 scikit-image==0.24.0 tensorflow==2.17.0