From f901dcc025d75bdfddd3d96b62bfd5a1478eface Mon Sep 17 00:00:00 2001 From: Patrick Darwinkel Date: Thu, 13 Jul 2023 14:36:08 +0200 Subject: [PATCH] Update pre-commit config --- .pre-commit-config.yaml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9990dfe6fb7..e912023de7c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: /tests/ - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.0.263" + rev: 'v0.0.263' hooks: - id: ruff @@ -53,14 +53,7 @@ repos: rev: v1.2.0 hooks: - id: mypy - additional_dependencies: - [ - "types-PyYAML", - "types-requests", - "types-cachetools", - "pydantic", - "pynacl", - ] + additional_dependencies: ['types-PyYAML', 'types-requests', 'types-cachetools', 'pydantic', 'pynacl'] exclude: | (?x)( ^boefjes/ | @@ -77,12 +70,14 @@ repos: rev: v2.2.4 hooks: - id: codespell - additional_dependencies: ["tomli"] + additional_dependencies: ['tomli'] + args: [-L, lama] exclude: | (?x)( \.po$ | \.xml$ | poetry.lock$ | + pyproject.toml$ | requirements-.*.txt$ | retirejs.json$ | ^boefjes/boefjes/plugins/kat_fierce/lists | @@ -98,7 +93,7 @@ repos: rev: v1.19.16 hooks: - id: djlint-django - files: "^rocky/.*/templates/.*$" + files: '^rocky/.*/templates/.*$' - repo: https://github.com/thibaudcolas/pre-commit-stylelint rev: v15.9.0