Skip to content

[PWGDQ] Updated CutsLibrery.cxx macro #10633

[PWGDQ] Updated CutsLibrery.cxx macro

[PWGDQ] Updated CutsLibrery.cxx macro #10633

Triggered via pull request May 28, 2025 17:57
Status Failure
Total duration 15s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4551
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4547
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4542
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4538
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L2788
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L2731
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L1961
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L1459
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L1159
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[include-iostream]: PWGDQ/Core/CutsLibrary.cxx#L19
Do not include iostream. Use O2 logging 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.