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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
repos:
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.7.4
hooks:
- id: prettier
types_or:
- toml
- css
- json
- json5
- yaml
- markdown
additional_dependencies:
- prettier
- prettier-plugin-toml
minimum_pre_commit_version: 2.9.0
exclude: ^locale
args:
- --cache
- --cache-location=.prettier-cache
- --ignore-path=.gitignore
- repo: https://github.com/mondeja/project-config
rev: v0.9.7
hooks:
- id: project-config
- repo: meta
hooks:
- id: check-hooks-apply
name: check-hooks-apply
- id: check-useless-excludes
name: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
name: trailing-whitespace
- id: end-of-file-fixer
name: end-of-file-fixer
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.36.0
hooks:
- id: check-github-workflows
name: check-github-workflows
args:
- --verbose
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
hooks:
- id: ruff
args:
- --fix
- --exit-non-zero-on-fix
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v2.0.4
hooks:
- id: autopep8
- repo: https://github.com/mondeja/mdpo
rev: v2.1.4
hooks:
- id: md2po2md
files: ^README\.md
args:
- --no-location
- --no-obsolete
- --no-empty-msgstr
- -l
- es
- -l
- fr
- -o
- locale/{lang}
- repo: https://github.com/mondeja/pre-commit-po-hooks
rev: v1.7.3
hooks:
- id: remove-metadata
- repo: https://github.com/adrienverge/yamllint
rev: v1.37.1
hooks:
- id: yamllint
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.20.0
hooks:
- id: markdownlint-cli2
name: markdownlint-readme
files: ^README.md
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 3.6.0
hooks:
- id: editorconfig-checker
name: editorconfig-checker
alias: ec
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.19.1
hooks:
- id: mypy
name: mypy-mkdocs-1.5.0
files: ^src
additional_dependencies:
- mkdocs>=1.5.0,<1.6.0
- platformdirs
- wcmatch
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.19.1
hooks:
- id: mypy
name: mypy-mkdocs-1.6.0
files: ^src
additional_dependencies:
- mkdocs>=1.6.0,<1.7.0
- platformdirs
- wcmatch
|