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

Add tparallel linter #1380

Merged
merged 3 commits into from Oct 2, 2020
Merged

Add tparallel linter #1380

merged 3 commits into from Oct 2, 2020

Conversation

Nivl
Copy link
Member

@Nivl Nivl commented Sep 21, 2020

This PR adds the tparallel linter. This linter checks for inefficient usage of t.Parallel() in the tests.

Closes #1371 (cc @moricho)

The Nancy failure is being taken care of in #1378 and #1293 Merged

Note: After doing more manual tests with the linter, I found a false positive: moricho/tparallel#8. That shouldn't prevent reviewing though, I'll update the linter's version once it's been fixed. Done

@Nivl Nivl marked this pull request as ready for review September 21, 2020 00:12
@Nivl Nivl added the linter: new Support new linter label Sep 21, 2020
@Nivl Nivl requested a review from a team September 21, 2020 00:47
@Nivl
Copy link
Member Author

Nivl commented Oct 2, 2020

@golangci/team up :)

Copy link
Member

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

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

LGTM

@Nivl Nivl merged commit 926e76d into golangci:master Oct 2, 2020
@ldez ldez added this to the v1.32 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linter: new Support new linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for "tparallel"
4 participants