Skip to content

fix: lint - #637

Merged
raphamorim merged 1 commit into
mainfrom
lint
Jun 17, 2025
Merged

raphamorim merged 1 commit into
mainfrom
lint

Conversation

@caarlos0

Copy link
Copy Markdown
Contributor

fixes a bunch of lint issues.

@caarlos0
caarlos0 requested a review from Copilot June 17, 2025 18:00
@caarlos0 caarlos0 self-assigned this Jun 17, 2025
@caarlos0 caarlos0 added the bug Something isn't working label Jun 17, 2025
@caarlos0
caarlos0 requested a review from a team as a code owner June 17, 2025 18:00
@caarlos0
caarlos0 requested review from bashbunni and removed request for a team June 17, 2025 18:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request fixes multiple lint issues across the codebase by updating file permissions, standardizing error message formatting, and improving package documentation comments.

  • Updated os.MkdirAll permissions to 0o750 in several files for consistency.
  • Replaced direct WriteString calls with fmt.Fprintf and standardized error message casing.
  • Added package-level documentation comments and removed unused code.

Reviewed Changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
video.go, vhs.go, testing.go Updated directory creation permissions to 0o750 for improved security style.
serve_unix.go, record.go, ffmpeg.go Standardized error message and logging methods using fmt.Fprintf.
token/token.go, parser/parser.go, lexer/lexer.go, examples/* Added or updated package comments to resolve lint warnings.
go.mod Updated Go version to 1.24.1.
evaluator.go Added a nolint suppression on staticcheck.
draw.go, command.go Improved function documentation comments.
Comments suppressed due to low confidence (1)

evaluator.go:79

  • Consider adding an explanatory comment along with the nolint directive to clarify why staticcheck is being suppressed.
		//nolint:staticcheck

@raphamorim
raphamorim merged commit 710bb76 into main Jun 17, 2025
@raphamorim
raphamorim deleted the lint branch June 17, 2025 18:49
leosunmo pushed a commit to leosunmo/vhs that referenced this pull request Oct 3, 2025
melMass pushed a commit to melMass/vhs that referenced this pull request Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

⌂ 换网址