From cb6722dcf552a9e7f0f7cbd2f473117dd00e20b3 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Sat, 11 Jan 2025 13:12:40 +0100 Subject: [PATCH] Bump pre-commit hooks, pytest-cov Except pylint Apply hooks fixes --- .pre-commit-config.yaml | 6 +++--- CHANGELOG.md | 2 +- CONTRIBUTING.md | 2 +- pyproject.toml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9ac0aec..32a68b2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - id: isort args: ["--profile", "black"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.13.0 + rev: v1.14.1 hooks: - id: mypy args: @@ -31,7 +31,7 @@ repos: hooks: - id: pylint - repo: https://github.com/asottile/pyupgrade - rev: v3.19.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py39-plus] @@ -53,6 +53,6 @@ repos: - "--project" - "clients/python/duniterpy" - repo: https://github.com/executablebooks/mdformat - rev: 0.7.18 + rev: 0.7.21 hooks: - id: mdformat diff --git a/CHANGELOG.md b/CHANGELOG.md index 46d10b6..4917fd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -334,7 +334,7 @@ ______________________________________________________________________ ### CI/CD -- #66, !93 Migrate to [Poetry](https://python-poetry.org/) (build and development environment) +- #66, !93 Migrate to [Poetry](https://python-poetry.org/) (build and development environment) ______________________________________________________________________ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aae54bc..cbf8ed1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -76,7 +76,7 @@ Check out #169 for more details. We are using [`pytest` framework](https://docs.pytest.org/). -- Run all tests with: +- Run all tests with: ```bash duniterpy> poetry run pytest diff --git a/pyproject.toml b/pyproject.toml index d4a4d1d..308bac9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ mnemonic = "^0.20" [tool.poetry.group.test.dependencies] pytest = "^8.3.3" -pytest-cov = "^5.0.0" +pytest-cov = "^6.0.0" pytest-sugar = "^1.0.0" pytest-clarity = "^1.0.1" -- GitLab