diff options
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 57ef192..81e0acb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,6 +15,8 @@ repos: hooks: - id: check-yaml + - id: check-toml + - id: end-of-file-fixer - id: trailing-whitespace @@ -93,6 +95,12 @@ repos: - id: bandit args: ["--skip", "B101"] +- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks + rev: v2.11.0 + hooks: + - id: pretty-format-toml + args: [--autofix, "--no-sort", --indent, "4"] + - repo: local hooks: - id: mypy |