Skip to content

[PWGJE] Please consider the following formatting changes to #9084 #34

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

[PWGJE] Please consider the following formatting changes to #9084 #34

Triggered via pull request January 20, 2025 19:25
Status Failure
Total duration 16s
Artifacts

o2-linter.yml

on: pull_request
O2 linter
5s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 10 warnings, and 1 notice
O2 linter result
Issues have been found.
O2 linter
Process completed with exit code 1.
[include-iostream]: PWGJE/Tasks/fullJetSpectraPP.cxx#L19
Including iostream is discouraged. Use O2 logging instead.
[std-prefix]: PWGJE/Tasks/fullJetSpectraPP.cxx#L774
Use std:: prefix for names from the std namespace.
[root-entity]: PWGJE/Tasks/fullJetSpectraPP.cxx#L161
Consider replacing ROOT entities with equivalents from standard C++ or from O2.
[external-pi]: PWGJE/Tasks/fullJetSpectraPP.cxx#L343
Consider using the PI constant (and its multiples and fractions) defined in o2::constants::math.
[const-ref-in-for-loop]: PWGJE/Tasks/fullJetSpectraPP.cxx#L349
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/Tasks/fullJetSpectraPP.cxx#L376
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/Tasks/fullJetSpectraPP.cxx#L390
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/Tasks/fullJetSpectraPP.cxx#L415
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/Tasks/fullJetSpectraPP.cxx#L439
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/Tasks/fullJetSpectraPP.cxx#L503
Use constant references for non-modified iterators in range-based for loops.
O2 linter
You can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test.