Skip to content

Conversation

caarlos0
Copy link
Member

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
Copy link

@Copilot Copilot AI left a comment

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
18 checks passed
@raphamorim raphamorim deleted the lint branch June 17, 2025 18:49
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.

4 participants