Spaces:
Runtime error
Runtime error
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v5.0.0 | |
hooks: | |
# - id: trailing-whitespace | |
# - id: end-of-file-fixer | |
- id: check-yaml | |
- id: check-added-large-files | |
args: ['--maxkb=600'] | |
- repo: https://github.com/maresb/check-json5 | |
rev: v1.0.0 | |
hooks: | |
- id: check-json5 | |
- repo: https://github.com/google/yamlfmt | |
rev: v0.13.0 | |
hooks: | |
- id: yamlfmt | |
args: ["-formatter", "indentless_arrays=true,trim_trailing_whitespace=true,retain_line_breaks_single=true"] | |
# - repo: https://github.com/astral-sh/ruff-pre-commit | |
# rev: v0.7.4 | |
# hooks: | |
# - id: ruff | |
# args: [--fix] | |
# - id: ruff-format | |
- repo: local | |
hooks: | |
- id: mypy | |
name: mypy | |
entry: mypy | |
args: ["--explicit-package-bases", "--namespace-packages"] | |
language: system | |
types: [python] | |
pass_filenames: false | |