Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #516
We decided to disable the following three checks but I had to disable some more checks for the reason described below.
Disabled
readability-magic-numbers
readability-avoid-const-params-in-decls
readability-isolate-declaration
double d_ymax, d_scale; error: multiple declarations in a single statement reduces readability
Conditional
readability-identifier-length
turn
on
forparameters
turn
off
forvariables
This is disabled because it requires fairly large cleanup efforts. Since this involves with mainly re-defining variables in math domain, it requires communication within the team.
Disabled for the following reasons
readability-avoid-unconditional-preprocessor-if
micm/util /error.hpp
has the copyright comments that has to be removed for a fortran code inmusica
.LLVM recently added a feature to exclude headers from clang-tidy analysis. We can revisit this check when the next release is available.
readability-convert-member-functions-to-static
: This wants to put
static
in the inlined function defined outside the class definition butstatic
must be specified inside the class definition.readability-named-parameter
: false positives
micm/include/micm/util/vector_matrix.hpp:167:50: error: all parameters should be named in a function