Spaces:
Runtime error
Runtime error
File size: 843 Bytes
c35cd37 a8c39f5 c35cd37 f3158b6 c35cd37 a8c39f5 c35cd37 f017d24 c35cd37 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
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
|