26 lines
578 B
YAML
26 lines
578 B
YAML
ci:
|
|
autofix_prs: false
|
|
|
|
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.9.1
|
|
hooks:
|
|
- id: ruff-format
|
|
args: ["--diff", "src", "tests"]
|
|
- id: ruff
|
|
args: ["--select", "I", "src", "tests"]
|
|
|
|
- repo: https://github.com/PyCQA/doc8
|
|
rev: 0.10.1
|
|
hooks:
|
|
- id: doc8
|
|
additional_dependencies:
|
|
- toml
|
|
|
|
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
|
|
rev: v2.14.0
|
|
hooks:
|
|
- id: pretty-format-java
|
|
args: [--autofix, --aosp]
|
|
files: ^.*\.java$
|