-
-
Notifications
You must be signed in to change notification settings - Fork 6
Lint fails with error #429
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
Comments
In general I was avoiding We can always try to add a new job for it, and also feel free to send small PRs fixing all of the little things its complaining about in the mean-time. |
It takes 4 minutes on my intel 11th gen i7 8 core CPU. My fan makes a lot of noise too during this run. Can we run clang-tidy on one file at a time?
and the output is too long. |
Edited the sources on |
Refs sourcemeta#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
Refs sourcemeta#429 Signed-off-by: Balakrishna Avulapati <[email protected]> fix clang_format issue Signed-off-by: Balakrishna Avulapati <[email protected]>
Let me try on GitHub Actions. Blaze already spends a lot of time on tests and benchmarks, so maybe it's good enough.
I don't think so, but I might be wrong. In any case, we probably want to run it in the entire project? Also, as a final note, maybe we should make ClangTidy pass on https://github.com/sourcemeta/core first, as I wonder if the linting results from that repo will cascade here. |
Will see if core has linting errors |
See: #429 Signed-off-by: Juan Cruz Viotti <[email protected]>
See: #429 Signed-off-by: Juan Cruz Viotti <[email protected]>
See: sourcemeta/blaze#429 Signed-off-by: Juan Cruz Viotti <[email protected]>
Here are some PRs running ClangTidy on CI: Feel free to send PRs fixing the warnings and we can rebase when we think it's all green and see how long it takes |
I believe most of the warnings can be easily fixed. Some might require discussion. And there are probably some outliers that we don't want to fix. For example, I remember ClangTidy complaining about the use of |
~6 minutes for Blaze: https://github.com/sourcemeta/blaze/actions/runs/14978789772/job/42077663860?pr=433. Not bad. Windows builds take a lot longer already 😅 ![]() |
See: #429 Signed-off-by: Juan Cruz Viotti <[email protected]>
Clang_tidy might run longer on core |
It was not that bad: ~7m. https://github.com/sourcemeta/core/actions/runs/14978825522/job/42077781489?pr=1640. I think it's acceptable now that the project is a lot bigger. Once more, MSVC builds on Core take even longer haha ![]() |
Lots of very minor things to fix. I guess its a good exercise on C++ knowledge |
Refs #429 Signed-off-by: Balakrishna Avulapati <[email protected]>
json_error.h is indirectly included via json.h Refs sourcemeta/blaze#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
json_error.h is indirectly included via json.h Refs sourcemeta/blaze#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
Reported by clang-tidy check `misc-include-cleaner` Refs: sourcemeta/blaze#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
Reported by clang-tidy check `misc-include-cleaner` Refs: sourcemeta/blaze#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
Reported by clang-tidy check `misc-include-cleaner` Refs: sourcemeta/blaze#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
Reported by clang-tidy check misc-include-cleaner Refs: sourcemeta/blaze#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
Reported by clang-tidy check `misc-include-cleaner` Refs: sourcemeta/blaze#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
Reported by clang-tidy check misc-include-cleaner Refs: sourcemeta/blaze#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
Reported by clang-tidy check misc-include-cleaner Refs: sourcemeta/blaze#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
Reported by clang-tidy check misc-include-cleaner Refs: sourcemeta/blaze#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
Reported by clang-tidy check misc-include-cleaner Refs: sourcemeta/blaze#429 Signed-off-by: Balakrishna Avulapati <[email protected]>
See: sourcemeta/blaze#429 Signed-off-by: Juan Cruz Viotti <[email protected]>
Linting is not run on CI
Lint errors
The text was updated successfully, but these errors were encountered: