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

Fixes in github actions for clang-tidy and clang-format #611

Merged
merged 2 commits into from
Aug 1, 2023

Conversation

vaithak
Copy link
Collaborator

@vaithak vaithak commented Aug 1, 2023

No description provided.

@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Merging #611 (34b5a07) into master (3230086) will not change coverage.
The diff coverage is n/a.

❗ Current head 34b5a07 differs from pull request most recent head bb085a5. Consider uploading reports for the commit bb085a5 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #611   +/-   ##
=======================================
  Coverage   93.73%   93.73%           
=======================================
  Files          41       41           
  Lines        5939     5939           
=======================================
  Hits         5567     5567           
  Misses        372      372           


CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
value: aNy_CasE
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changed this because clad::array and clad::matrix are small cases but Visitors are capital cases.

.clang-tidy Outdated
@@ -26,14 +26,15 @@ Checks: >
-readability-magic-numbers,
-readability-named-parameter,
-readability-function-cognitive-complexity,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed this check because clad::array deals with pointer arithmetic

Copy link
Owner

Choose a reason for hiding this comment

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

Can we disable that check if a comment in that particular file?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't think so; there is a similar discussion here: isocpp/CppCoreGuidelines#862 for implementing a vector-like container.

Copy link
Owner

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yup, it worked. I had no idea about this 😅

@vaithak vaithak mentioned this pull request Aug 1, 2023
Copy link
Owner

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

There seem to be some unrelated failure with ubuntu22 and llvm 13. Otherwise, lgtm!

@vgvassilev vgvassilev merged commit ad2b804 into vgvassilev:master Aug 1, 2023
67 of 73 checks passed
@vaithak vaithak deleted the ci-fix branch August 9, 2023 13:15
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