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 unneeded grep of staticcheck output #914

Closed
wants to merge 1 commit into from

Conversation

jmhodges
Copy link
Contributor

This grep was a hack to avoid fixing a deprecated API for DSA. The grep
command fails on macOS because -P doesn't exist on the default macOS
grep.

Fortunately, the use of the deprecated API was corrected in
#770 (original ticket:
#667), so we can
just drop it whole cloth.

In the future, I believe we'll want to use staticcheck's built-in ways
of ignoring certain lints, anyway:
https://staticcheck.io/docs/configuration/#ignoring-problems

@jmhodges jmhodges requested a review from oskirby June 21, 2024 08:33
@jmhodges jmhodges marked this pull request as ready for review June 21, 2024 08:34
@jmhodges
Copy link
Contributor Author

(Found will digging around in why an earlier draft of #911 didn't include everything it needed)

This grep was a hack to avoid fixing a deprecated API for DSA. The grep
command fails on macOS because `-P` doesn't exist on the default macOS
grep.

Fortunately, the use of the deprecated API was corrected in
#770 (original ticket:
#667), so we can
just drop it whole cloth.

In the future, I believe we'll want to use staticcheck's built-in ways
of ignoring certain lints, anyway:
https://staticcheck.io/docs/configuration/#ignoring-problems
Copy link
Contributor

@oskirby oskirby left a comment

Choose a reason for hiding this comment

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

Looks good!

@jmhodges
Copy link
Contributor Author

Mooted by #951

@jmhodges jmhodges closed this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants