diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 38390d1..e25b2c0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,14 +23,14 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.15.14' + rev: 'v0.16.0' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, "--config=pyproject.toml"] - id: ruff-format args: ["--config=pyproject.toml"] - repo: https://github.com/codespell-project/codespell - rev: v2.4.2 + rev: v2.4.3 hooks: - id: codespell additional_dependencies: ["tomli"] diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index df074cc..98de39c 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -1,7 +1,6 @@ import shutil from pathlib import Path - if not {{cookiecutter.docs}}: # noqa: F821 shutil.rmtree("docs") (Path(".github") / "workflows" / "docs.yml").unlink()