diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 47fbf28..bfb310b 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.8.6 + rev: v0.9.1 hooks: # Run the linter. - id: ruff diff --git a/Dockerfile b/Dockerfile index 74e0abc..0a85194 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.3.1 -RUN python3 -m pip install setuptools==75.6.0 +RUN python3 -m pip install setuptools==75.8.0 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 30498bb..e577a35 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ The code has been tested using: - [TensorFlow] (2.18): an open source software [Deep Learning] library for high performance numerical computation using data flow graphs. - [Matplotlib] (3.10): a plotting library for [Python] and its numerical mathematics extension [NumPy]. - [NumPy] (2.0): a library for [Python], adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays. -- [Ruff] (0.8): An extremely fast Python linter and code formatter, written in Rust. +- [Ruff] (0.9): An extremely fast Python linter and code formatter, written in Rust. - [scikit-image] (0.25): a collection of algorithms for image processing with [Python]. ### PYTHON VIRTUAL ENVIRONMENT @@ -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.3.1 -(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==75.6.0 +(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==75.8.0 (.venv)~/deeplearning_flask$ python3 -m pip install -r requirements_dev.txt (.venv)~/deeplearning_flask$ pre-commit install ``` diff --git a/requirements.txt b/requirements.txt index 503f2aa..e123949 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,6 @@ pre-commit==4.0.1 pur==7.3.3 pytest==8.3.4 requests==2.32.3 -ruff==0.8.6 +ruff==0.9.1 scikit-image==0.25.0 tensorflow==2.18.0