Skip to content

Conversation

@rwgk
Copy link
Collaborator

@rwgk rwgk commented Sep 10, 2021

Removing NOLINT accidentally added with PR #3254.

@rwgk
Copy link
Collaborator Author

rwgk commented Sep 10, 2021

I mindlessly tried to remove all NOLINT one-by-one, running clang-tidy locally for each. Two can be removed, the three remaining are definitely needed.

Question @Skylion007: could there be valid use cases that need the extra NOLINT I removed (beyond the one you pointed out)? If yes, would it make sense to add a test case?

@rwgk rwgk requested a review from Skylion007 September 10, 2021 05:56
@Skylion007
Copy link
Collaborator

Not really, if the Eigen tests pass then everything should be fine as the only meaningful const should be the one that goes into the caster and only as an edge case like how we used it for Eigen.

@Skylion007 Skylion007 merged commit 121b91f into pybind:master Sep 10, 2021
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Sep 10, 2021
@rwgk
Copy link
Collaborator Author

rwgk commented Sep 10, 2021

Awesome, thanks Aaron!

@rwgk rwgk deleted the fixing_nolint_mishap branch September 10, 2021 15:19
@rwgk rwgk removed the needs changelog Possibly needs a changelog entry label Sep 10, 2021
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