Skip to content

[PWGCF] Please consider the following formatting changes to #10749 #156

[PWGCF] Please consider the following formatting changes to #10749

[PWGCF] Please consider the following formatting changes to #10749 #156

Triggered via pull request April 3, 2025 14:30
Status Failure
Total duration 11s
Artifacts

o2-linter.yml

on: pull_request
O2 linter
7s
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]: PWGCF/Flow/Tasks/flowSP.cxx#L470
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGCF/Flow/Tasks/flowSP.cxx#L468
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGCF/Flow/Tasks/flowSP.cxx#L463
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGCF/Flow/Tasks/flowSP.cxx#L461
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-code]: PWGCF/Flow/Tasks/flowSP.cxx#L895
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGCF/Flow/Tasks/flowSP.cxx#L893
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGCF/Flow/Tasks/flowSP.cxx#L888
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGCF/Flow/Tasks/flowSP.cxx#L886
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGCF/Flow/Tasks/flowSP.cxx#L881
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGCF/Flow/Tasks/flowSP.cxx#L879
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg 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.