Please consider the following formatting changes to #11447 #14
Annotations
7 errors and 2 notices
|
O2 linter
Process completed with exit code 1.
|
|
O2 linter result
Issues have been found.
|
|
[pwghf/struct-member-order]:
PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L1
Declare struct members in the conventional order. See the PWGHF coding guidelines.
|
|
[pwghf/struct-member-order]:
PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L166
HfDataCreatorCharmResoReduced: Service< appears too early (before end of HfHelper).
|
|
[name/configurable]:
PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L167
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
|
|
[magic-number]:
PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L507
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[pdg/explicit-mass]:
PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L311
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
|
|
O2 linter
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
|
|
O2 linter
Exceptionally, you can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test and parentheses with a reason for the exception.
|