From 835bb3e001ef3ba3a1699ccf81bc5feb95f37eff Mon Sep 17 00:00:00 2001 From: Daniel Luque Date: Wed, 27 Dec 2023 18:26:35 +0100 Subject: [PATCH] Update development dependencies --- .github/workflows/pr-check.yml | 2 +- .pre-commit-config.yaml | 6 +++--- pyproject.toml | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 938f7a4..50f353b 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -15,7 +15,7 @@ jobs: uses: ./.github/actions/setup_python - name: 🔍 Lint run: | - ruff --format=github . + ruff check --output-format github . mypy . format: name: 🎨 Format diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 35d988a..e986845 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,11 +15,11 @@ repos: args: - --unsafe - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.259 + rev: v0.1.9 hooks: - id: ruff - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.12.1 hooks: - id: black - repo: https://github.com/pycqa/isort @@ -29,7 +29,7 @@ repos: name: isort (python) args: ["--profile", "black", "--filter-files"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.1.1" + rev: "v1.8.0" hooks: - id: mypy args: [--strict] diff --git a/pyproject.toml b/pyproject.toml index 826fa4a..9950fdc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools >= 67.5.0", "wheel"] +requires = ["setuptools >= 68.0.0", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -40,14 +40,14 @@ Documentation = "https://github.com/LuqueDaniel/lnmc/blob/master/README.md" [project.optional-dependencies] dev = [ - "pre-commit >=2.20.0", - "black >=22.10", + "pre-commit ==2.21.0", + "black ==23.3.0", "isort >=5.11.5,<5.12.0", # 5.12.0+ requires Python 3.8+ - "ruff >=0.0.259", - "mypy >=0.982", - "pytest >=7.2.0,<8.0.0", - "pytest-cov >=4.0.0", - "types-setuptools ==67.5.0", + "ruff >=0.1.9", + "mypy ~=1.4.1", + "pytest ~=7.4.3", + "pytest-cov ~=4.1.0", + "types-setuptools ==68.0.0", "types-PyYAML >=6.0.0", ]