Skip to content

Please consider the following formatting changes to #11767 #32

Please consider the following formatting changes to #11767

Please consider the following formatting changes to #11767 #32

Triggered via pull request June 28, 2025 07:11
@alibuildalibuild
opened #9
Status Failure
Total duration 15s
Artifacts

o2-linter.yml

on: pull_request_target
O2 linter
8s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 notices
[name/function-variable]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L634
Use lowerCamelCase for names of functions and variables.
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L2373
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L2015
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1981
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1835
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1704
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1700
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-mass]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L137
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
[pdg/explicit-code]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L2373
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1835
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg 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.