Folks, I need some help. My latest PR adds JMH ben...
# pinot-dev
a
Folks, I need some help. My latest PR adds JMH benchmarks, hence generates relevant classes. However, Pre commit is failing for the same with checkstyle failures. I thought checkstyle is excluded for /target? https://github.com/apache/pinot/pull/7405/checks?check_run_id=3595648311
x
have you tried this compatible verifier script from your local?
you can try to exclude those paths from the pom
a
Yes, and strangely, it passes for me
x
you can add some exclude in config/checkstyle.xml
a
That. is what is confusing, I thought. it is already excluded
x
actually it’s
config/suppressions.xml
a
Let me take a loo, thanks!
x
exclude
target/generated-test-sources
right now we only exclude
Copy code
<!-- Suppress autogenerated parser files -->
  <suppress checks=".*" files="target/generated-sources"/>
a
Ah yes, my bad. I somehow misread as a complete exclusion of target folder
which, btw, is what we should be doing?
x
I think it’s fine to exclude
target
a
Ok, let me add a separate PR for it, thanks for the help!