From ae93d787ba077d252d41a8bbd3a03ab3ee29083d Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 24 Dec 2024 19:50:59 +0000 Subject: [PATCH] Update pre-commit hooks --- .pre-commit-config.yaml | 20 ++++++++++---------- playbooks/test-integration.yml | 5 +++-- samples/integration/nox.txt | 3 --- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b28a221..3bab1e8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,14 +5,14 @@ ci: - deps repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.7 + rev: v0.8.4 hooks: - id: ruff args: - --fix - --exit-non-zero-on-fix - - repo: https://github.com/pycontribs/mirrors-prettier - rev: v3.3.3 + - repo: https://github.com/rbubley/mirrors-prettier + rev: v3.4.2 hooks: - id: prettier always_run: true @@ -21,24 +21,24 @@ repos: - prettier-plugin-toml - prettier-plugin-sort-json - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.13.3 + rev: v8.17.0 hooks: - id: cspell # entry: codespell --relative args: [--relative, --no-progress, --no-summary] name: Spell check with cspell - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.41.0 + rev: v0.43.0 hooks: - id: markdownlint - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black args: - --safe - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace @@ -49,7 +49,7 @@ repos: - id: debug-statements language_version: python3 - repo: https://github.com/ansible/ansible-lint - rev: v24.9.2 + rev: v24.7.0 hooks: - id: ansible-lint language_version: python3.10 # minimal supported officially @@ -64,7 +64,7 @@ repos: - yaml entry: yamllint --strict - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.14.0 hooks: - id: mypy entry: mypy src/ @@ -79,7 +79,7 @@ repos: - typer-config - typer>=0.12.2 - repo: https://github.com/pycqa/pylint - rev: v3.3.0 + rev: v3.3.3 hooks: - id: pylint additional_dependencies: diff --git a/playbooks/test-integration.yml b/playbooks/test-integration.yml index 355c046..874b326 100644 --- a/playbooks/test-integration.yml +++ b/playbooks/test-integration.yml @@ -19,8 +19,9 @@ url: https://github.com/python/typeshed - name: flask-babel url: https://github.com/python-babel/flask-babel - - name: nox - url: https://github.com/wntrblm/nox + # - name: nox + # url: https://github.com/wntrblm/nox + # disabled because presence of conda change the output tasks: - name: Show cache directory ansible.builtin.debug: diff --git a/samples/integration/nox.txt b/samples/integration/nox.txt index fb1d8ce..4daeb47 100644 --- a/samples/integration/nox.txt +++ b/samples/integration/nox.txt @@ -1,9 +1,6 @@ alerts build changelog -conda_tests -cover -docs drafts install lint