Skip to content

Please consider the following formatting changes to #12508 #56

Please consider the following formatting changes to #12508

Please consider the following formatting changes to #12508 #56

Triggered via pull request August 9, 2025 17:31
@alibuildalibuild
opened #8
Status Failure
Total duration 11s
Artifacts

o2-linter.yml

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

Annotations

8 errors and 2 notices
O2 linter
Process completed with exit code 1.
O2 linter result
Issues have been found.
[name/workflow-file]: PWGCF/Tasks/correlations.cxx#L1
Name of a workflow file must match the name of the main struct in it (without the PWG prefix). (Class implementation files should be in "Core" directories.)
[name/function-variable]: PWGCF/Tasks/correlations.cxx#L457
Use lowerCamelCase for names of functions and variables.
[magic-number]: PWGCF/Tasks/correlations.cxx#L604
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGCF/Tasks/correlations.cxx#L366
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pi-multiple-fraction]: PWGCF/Tasks/correlations.cxx#L369
Use multiples/fractions of PI defined in o2::constants::math.
[external-pi]: PWGCF/Tasks/correlations.cxx#L369
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
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.