diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9900389..b7db14a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.0 + rev: v0.2.1 hooks: - id: ruff args: @@ -11,9 +11,15 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: + - id: check-toml + - id: check-json + - id: check-yaml - id: end-of-file-fixer - id: mixed-line-ending - id: trailing-whitespace + - id: pretty-format-json + args: + - --no-sort-keys - id: no-commit-to-branch args: - --branch=master diff --git a/requirements-test.txt b/requirements-test.txt index 2446b48..ed9f8a5 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1 +1 @@ -ruff==0.2.0 +ruff==0.2.1