Skip to content

[PWGUD] Please consider the following formatting changes to #10905 #153

[PWGUD] Please consider the following formatting changes to #10905

[PWGUD] Please consider the following formatting changes to #10905 #153

Triggered via pull request April 17, 2025 18:29
Status Failure
Total duration 21s
Artifacts

o2-linter.yml

on: pull_request
O2 linter
16s
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.
[doc/file]: PWGUD/TableProducer/udMcCollisions2udCollisions.cxx#L0
Provide mandatory file documentation.
[doc/file]: PWGUD/TableProducer/udMcCollisions2udCollisions.cxx#L17
Documentation for \file is missing, incorrect or misplaced.
[const-ref-in-for-loop]: PWGUD/TableProducer/udMcCollisions2udCollisions.cxx#L62
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGUD/TableProducer/udMcCollisions2udCollisions.cxx#L53
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGUD/TableProducer/udMcCollisions2udCollisions.cxx#L49
Use constant references for non-modified iterators in range-based for loops.
[magic-number]: PWGUD/TableProducer/tauEventTableProducer.cxx#L434
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGUD/TableProducer/tauEventTableProducer.cxx#L421
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGUD/TableProducer/tauEventTableProducer.cxx#L223
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGUD/TableProducer/tauEventTableProducer.cxx#L219
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[root/lorentz-vector]: PWGUD/TableProducer/tauEventTableProducer.cxx#L47
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template 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.