diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5c6a040d497154d22c33f48c2866683a5e16d71c..a8db104df6fb5c0ac7e383e0e742b390cfdcb560 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,16 +11,16 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.254 + rev: v0.0.261 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.3.0 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.0.1 + rev: v1.2.0 hooks: - id: mypy - repo: https://gitlab.com/devopshq/gitlab-ci-linter @@ -31,7 +31,7 @@ repos: - "--server" - "https://git.duniter.org" - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.4.2 + rev: v1.5.1 hooks: - id: insert-license files: \.py$ diff --git a/tests/unit/money/test_transfer.py b/tests/unit/money/test_transfer.py index 5447acbbafec705ec529556f814e04d7998c6d13..a8f09d6be9f0648166ebfb506d3510ff4a8e448a 100644 --- a/tests/unit/money/test_transfer.py +++ b/tests/unit/money/test_transfer.py @@ -1407,7 +1407,7 @@ def test_check_transaction_values( enough_source, issuer_pubkey, ) - assert capsys.readouterr().out == "" + assert not capsys.readouterr().out assert result == expected_outputBackchange