Skip to content

[PWGCF] DptDpt - First step in implementing linter recommendations #10092

[PWGCF] DptDpt - First step in implementing linter recommendations

[PWGCF] DptDpt - First step in implementing linter recommendations #10092

Triggered via pull request May 19, 2025 14:44
Status Failure
Total duration 15s
Artifacts

o2-linter.yml

on: pull_request_target
O2 linter
10s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 notices
[name/configurable]: PWGCF/TableProducer/dptDptFilter.cxx#L368
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
[name/configurable]: PWGCF/TableProducer/dptDptFilter.cxx#L367
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
[name/configurable]: PWGCF/TableProducer/dptDptFilter.cxx#L365
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
[name/configurable]: PWGCF/TableProducer/dptDptFilter.cxx#L364
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
[name/configurable]: PWGCF/TableProducer/dptDptFilter.cxx#L363
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
[name/configurable]: PWGCF/TableProducer/dptDptFilter.cxx#L362
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
[magic-number]: PWGCF/TableProducer/dptDptFilter.cxx#L1575
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGCF/TableProducer/dptDptFilter.cxx#L280
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[name/o2-workflow]: PWGCF/TableProducer/CMakeLists.txt#L1
Use kebab-case for names of workflows and match the name of the workflow file.
[name/o2-workflow]: PWGCF/TableProducer/CMakeLists.txt#L17
Workflow name filter-correlations-2prong does not match its file name filter2Prong.cxx. (Matches filterCorrelations2Prong.cxx.)
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.