Skip to content

Please consider the following formatting changes to #11447 #9

Please consider the following formatting changes to #11447

Please consider the following formatting changes to #11447 #9

Triggered via pull request June 2, 2025 16:10
@alibuildalibuild
opened #46
Status Failure
Total duration 18s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[magic-number]: PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L1002
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L1001
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L993
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L992
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L991
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L990
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L496
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L475
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L408
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-mass]: PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx#L300
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.