Skip to content

Please consider the following formatting changes to #11102 #46

Please consider the following formatting changes to #11102

Please consider the following formatting changes to #11102 #46

Triggered via pull request May 6, 2025 16:25
@alibuildalibuild
opened #27
Status Failure
Total duration 17s
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
[name/function-variable]: PWGHF/HFC/Tasks/taskCharmHadronsFemtoDream.cxx#L76
Use lowerCamelCase for names of functions and variables.
[doc/file]: PWGHF/HFC/Tasks/taskCharmHadronsFemtoDream.cxx#L1
Provide mandatory file documentation.
[doc/file]: PWGHF/HFC/Tasks/taskCharmHadronsFemtoDream.cxx#L15
Documentation for \file is missing, incorrect or misplaced.
[magic-number]: PWGHF/HFC/Tasks/taskCharmHadronsFemtoDream.cxx#L388
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/HFC/Tasks/taskCharmHadronsFemtoDream.cxx#L282
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/HFC/Tasks/taskCharmHadronsFemtoDream.cxx#L189
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/HFC/Tasks/taskCharmHadronsFemtoDream.cxx#L185
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/HFC/Tasks/taskCharmHadronsFemtoDream.cxx#L181
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[const-ref-in-for-loop]: PWGHF/HFC/Tasks/taskCharmHadronsFemtoDream.cxx#L376
Use constant references for non-modified iterators in range-based for loops.
[external-pi]: PWGHF/HFC/Tasks/taskCharmHadronsFemtoDream.cxx#L69
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.