Skip to content

[PWGDQ] A few optimizations of the electron cuts, and of the filter-pp with a… #7855

[PWGDQ] A few optimizations of the electron cuts, and of the filter-pp with a…

[PWGDQ] A few optimizations of the electron cuts, and of the filter-pp with a… #7855

Triggered via pull request April 4, 2025 08:58
Status Failure
Total duration 17s
Artifacts

o2-linter.yml

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

Annotations

2 errors, 10 warnings, and 1 notice
O2 linter
Process completed with exit code 1.
O2 linter result
Issues have been found.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4465
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4461
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4456
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4452
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L2741
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L2684
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L1914
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L1412
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L1112
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
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.