diff --git a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml index 33145c2..2b27e46 100644 --- a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml @@ -4,20 +4,23 @@ repos: hooks: - id: trailing-whitespace - id: check-added-large-files + - id: check-merge-conflict + - id: check-shebang-scripts-are-executable + - id: check-docstring-first + - id: debug-statements - id: check-ast - id: check-json - - id: check-merge-conflict + - id: check-toml - id: check-xml - id: check-yaml args: ['--unsafe'] # needed for !! tags in mkdocs.yml - - id: debug-statements - id: end-of-file-fixer - id: mixed-line-ending args: ['--fix=auto'] # replace 'auto' with 'lf' to enforce Linux/Mac line endings or 'crlf' for Windows -# Ruff replaces black, flake8, autoflake and isort +# Ruff replaces black, flake8, autoflake, isort and more - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.3.2' # make sure this is always consistent with hatch configs + rev: 'v0.3.4' # make sure this is always consistent with hatch configs hooks: - id: ruff - id: ruff-format