[PR #6346] [MERGED] lint #12087

Closed
opened 2026-04-12 23:49:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6346
Author: @mxyng
Created: 8/13/2024
Status: Merged
Merged: 8/13/2024
Merged by: @mxyng

Base: mainHead: mxyng/lint


📝 Commits (1)

📊 Changes

5 files changed (+70 additions, -75 deletions)

View changed files

📝 .golangci.yaml (+0 -1)
📝 readline/buffer.go (+29 -50)
📝 readline/readline.go (+1 -1)
📝 readline/types.go (+39 -22)
📝 server/sched.go (+1 -1)

📄 Description

  • fixes printf: non-constant format string in call to fmt.Printf
  • fixes SA1032: arguments have the wrong order
  • disables testifylint

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/6346 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 8/13/2024 **Status:** ✅ Merged **Merged:** 8/13/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/lint` --- ### 📝 Commits (1) - [`2697d7f`](https://github.com/ollama/ollama/commit/2697d7f5aad27248aebbe5acff1dcbede5367b7b) lint ### 📊 Changes **5 files changed** (+70 additions, -75 deletions) <details> <summary>View changed files</summary> 📝 `.golangci.yaml` (+0 -1) 📝 `readline/buffer.go` (+29 -50) 📝 `readline/readline.go` (+1 -1) 📝 `readline/types.go` (+39 -22) 📝 `server/sched.go` (+1 -1) </details> ### 📄 Description - fixes printf: non-constant format string in call to fmt.Printf - fixes SA1032: arguments have the wrong order - disables testifylint --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 23:49:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#12087