mirror of
https://github.com/ollama/ollama.git
synced 2025-03-18 13:51:45 +01:00
This commit copies (without history) the bmizerany/ollama-go repository with the intention of integrating it into the ollama as a replacement for the pushing, and pulling of models, and management of the cache they are pushed and pulled from. New homes for these packages will be determined as they are integrated and we have a better understanding of proper package boundaries.
42 lines
665 B
YAML
42 lines
665 B
YAML
run:
|
|
timeout: 5m
|
|
linters:
|
|
enable:
|
|
- asasalint
|
|
- bidichk
|
|
- bodyclose
|
|
- containedctx
|
|
- gocheckcompilerdirectives
|
|
- gofmt
|
|
- gofumpt
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- intrange
|
|
- makezero
|
|
- misspell
|
|
- nilerr
|
|
- nolintlint
|
|
- nosprintfhostport
|
|
- staticcheck
|
|
- tenv
|
|
- unconvert
|
|
- wastedassign
|
|
- whitespace
|
|
disable:
|
|
- usestdlibvars
|
|
- errcheck
|
|
linters-settings:
|
|
staticcheck:
|
|
checks:
|
|
- all
|
|
- -SA1019 # omit Deprecated check
|
|
severity:
|
|
default-severity: error
|
|
rules:
|
|
- linters:
|
|
- gofmt
|
|
- goimports
|
|
- intrange
|
|
severity: info
|