diff --git a/.codespellignore b/.codespellignore new file mode 100644 index 0000000..e69de29 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 15b7db8..9cb3a5a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: check-yaml - id: check-json @@ -9,16 +9,16 @@ repos: - id: trailing-whitespace - id: check-case-conflict - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.8.0 hooks: - id: black - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort language_version: python3 - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.270 + rev: v0.6.3 hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -27,9 +27,10 @@ repos: hooks: - id: markdownlint - repo: https://github.com/codespell-project/codespell - rev: v2.2.4 + rev: v2.3.0 hooks: - id: codespell + args: [-I, .codespellignore] - repo: local hooks: - id: pylint @@ -43,3 +44,7 @@ repos: "-sn", # Don't display the pylint score. "--rcfile=.pylintrc" ] +exclude: | + (?x) ( + ^html/ + )