mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 03:47:13 +02:00
Add pre-commit configuration file
test
This commit is contained in:
parent
57ecbc2572
commit
a0bcc47b2e
@ -4,20 +4,20 @@ repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: "v5.0.0"
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
# - id: no-commit-to-branch
|
||||
# args: ['--branch', 'main']
|
||||
- id: check-yaml
|
||||
- id: check-json
|
||||
- id: check-xml
|
||||
- id: end-of-file-fixer
|
||||
exclude: \.json$
|
||||
files: \.py$
|
||||
- id: trailing-whitespace
|
||||
- id: mixed-line-ending
|
||||
- id: check-merge-conflict
|
||||
- id: check-added-large-files
|
||||
- id: check-yaml
|
||||
- id: check-xml
|
||||
- id: check-json
|
||||
- id: pretty-format-json
|
||||
args: ['--no-sort-keys', '--autofix', '--indent=4']
|
||||
- id: end-of-file-fixer
|
||||
exclude: \.json$
|
||||
files: \.java$|\.xml$
|
||||
- id: trailing-whitespace
|
||||
- id: mixed-line-ending
|
||||
|
||||
# for commit message formatting
|
||||
- repo: https://github.com/commitizen-tools/commitizen
|
||||
|
@ -1156,6 +1156,3 @@ public class OllamaAPI {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user