diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a65f4f1..1f642cff 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,13 +31,13 @@ repos: hooks: - id: remove-tabs - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.1.4" + rev: "v0.1.6" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/pre-commit/mirrors-prettier # keep it before yamllint - rev: v3.0.3 + rev: v4.0.0-alpha.3 hooks: - id: prettier always_run: true @@ -46,17 +46,17 @@ repos: - prettier-plugin-toml - prettier-plugin-sort-json - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 23.11.0 hooks: - id: black language_version: python3 - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v7.3.2 + rev: v8.0.0 hooks: - id: cspell name: Spell check with cspell - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.1 + rev: 0.27.2 hooks: - id: check-github-workflows - repo: https://github.com/jsh9/pydoclint @@ -75,7 +75,7 @@ repos: - ansible-core - pytest - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.6.1 + rev: v1.7.1 hooks: - id: mypy # Do not modify args to match mypy cli/ide behavior, use config if needed. diff --git a/pyproject.toml b/pyproject.toml index 7d715de7..bca75d63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -126,7 +126,7 @@ addopts = ["--tb=native"] markers = ["old", "unit", "requires_ansible_v2"] [tool.ruff] -required-version = "0.1.4" +required-version = "0.1.6" select = ["ALL"] ignore = [ "E501", # we use black