Skip to content

[PWGJE] Please consider the following formatting changes to #11776 #15

[PWGJE] Please consider the following formatting changes to #11776

[PWGJE] Please consider the following formatting changes to #11776 #15

Triggered via pull request June 26, 2025 08:53
@alibuildalibuild
opened #10
Status Failure
Total duration 13s
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
[const-ref-in-for-loop]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L566
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L549
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L532
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L254
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L236
Use constant references for non-modified iterators in range-based for loops.
[pdg/explicit-code]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L927
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L567
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L550
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pi-multiple-fraction]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L398
Use multiples/fractions of PI defined in o2::constants::math.
[pi-multiple-fraction]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L397
Use multiples/fractions of PI 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.