Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some nolint annotations, add nolintlint linter #4686

Merged
merged 3 commits into from
Mar 25, 2025

Conversation

kolyshkin
Copy link
Contributor

See individual commits for details.

@kolyshkin kolyshkin requested a review from rata March 21, 2025 22:51
@kolyshkin kolyshkin requested a review from lifubang March 21, 2025 23:00
@kolyshkin kolyshkin changed the title Remove some _ =, //nolint:errorlint, add nolintlint linter Remove //nolint:errorlint, add nolintlint linter Mar 22, 2025
@kolyshkin kolyshkin changed the title Remove //nolint:errorlint, add nolintlint linter Remove some nolint annotations, add nolintlint linter Mar 22, 2025
Copy link
Member

@rata rata left a comment

Choose a reason for hiding this comment

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

Thanks for the cleanups! Left some questions, but great cleanup overall :)

There is no need to explicitly ignore returned value.

Signed-off-by: Kir Kolyshkin <[email protected]>
Signed-off-by: Kir Kolyshkin <[email protected]>
The errrolint linter can finally ignore errors from Close,
and it also ignores direct comparisons of errors from x/sys/unix.

Signed-off-by: Kir Kolyshkin <[email protected]>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@rata rata left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@rata
Copy link
Member

rata commented Mar 25, 2025

@kolyshkin feel free to merge when almalinux is green

@kolyshkin kolyshkin merged commit dc7ede6 into opencontainers:main Mar 25, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants