diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59980d0..404cef2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,15 +3,24 @@ repos: rev: v4.6.0 hooks: - id: check-yaml - - id: check-toml - id: end-of-file-fixer - id: trailing-whitespace - - id: check-added-large-files + - repo: https://github.com/psf/black rev: 24.4.2 hooks: - id: black -- repo: https://github.com/PyCQA/isort - rev: 5.13.2 - hooks: - - id: isort + exclude: ^docs/ + +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.5.2 + hooks: + - id: ruff + args: [ --fix ] + +- repo: https://github.com/codespell-project/codespell + rev: v2.3.0 + hooks: + - id: codespell + additional_dependencies: + - tomli