Skip to content

[PWGCF] Please consider the following formatting changes to #9369 #10

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

[PWGCF] Please consider the following formatting changes to #9369 #10

Triggered via pull request January 21, 2025 15:12
Status Failure
Total duration 18s
Artifacts

o2-linter.yml

on: pull_request
O2 linter
6s
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.
[pdg/database]: PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h#L30
Direct use of TDatabasePDG is not allowed. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG>.
[pdg/database]: PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h#L240
Direct use of TDatabasePDG is not allowed. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG>.
[pdg/explicit-code]: PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h#L63
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h#L64
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h#L65
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h#L66
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[const-ref-in-for-loop]: PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h#L713
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h#L741
Use constant references for non-modified iterators in range-based for loops.
[doc/file]: PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h#L11
Documentation for \file is missing, incorrect or misplaced.
[doc/file]: PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h#L11
Documentation for \brief is missing, incorrect or misplaced.
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.