Skip to content

chore: add pre-commit action #4

chore: add pre-commit action

chore: add pre-commit action #4

Triggered via pull request November 21, 2024 09:11
@liwuhenliwuhen
synchronize #12
feat-dev
Status Failure
Total duration 41s
Artifacts

linters.yml

on: pull_request
Optional Lint
31s
Optional Lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Optional Lint: modules/app_yolo/app/inferpipeline.cpp#L38
[cpplint] reported by reviewdog 🐶 Add #include <memory> for make_shared<> [build/include_what_you_use] [4] Raw Output: modules/app_yolo/app/inferpipeline.cpp:38: Add #include <memory> for make_shared<> [build/include_what_you_use] [4]
Optional Lint: modules/app_yolo/app/inferpipeline.cpp#L54
[cpplint] reported by reviewdog 🐶 Add #include <map> for map<> [build/include_what_you_use] [4] Raw Output: modules/app_yolo/app/inferpipeline.cpp:54: Add #include <map> for map<> [build/include_what_you_use] [4]
Optional Lint: modules/app_yolo/app/inferpipeline.cpp#L54
[cpplint] reported by reviewdog 🐶 Add #include <vector> for vector<> [build/include_what_you_use] [4] Raw Output: modules/app_yolo/app/inferpipeline.cpp:54: Add #include <vector> for vector<> [build/include_what_you_use] [4]
Optional Lint: modules/app_yolo/app/inferpipeline.h#L110
[cpplint] reported by reviewdog 🐶 #endif line should be "#endif // MODULES_APP_YOLO_APP_INFERPIPELINE_H_" [build/header_guard] [5] Raw Output: modules/app_yolo/app/inferpipeline.h:110: #endif line should be "#endif // MODULES_APP_YOLO_APP_INFERPIPELINE_H_" [build/header_guard] [5]
Optional Lint: modules/app_yolo/app/inferpipeline.h#L31
[cpplint] reported by reviewdog 🐶 Include the directory when naming header files [build/include_subdir] [4] Raw Output: modules/app_yolo/app/inferpipeline.h:31: Include the directory when naming header files [build/include_subdir] [4]
Optional Lint: modules/app_yolo/app/inferpipeline.h#L33
[cpplint] reported by reviewdog 🐶 Include the directory when naming header files [build/include_subdir] [4] Raw Output: modules/app_yolo/app/inferpipeline.h:33: Include the directory when naming header files [build/include_subdir] [4]
Optional Lint: modules/app_yolo/app/inferpipeline.h#L34
[cpplint] reported by reviewdog 🐶 Include the directory when naming header files [build/include_subdir] [4] Raw Output: modules/app_yolo/app/inferpipeline.h:34: Include the directory when naming header files [build/include_subdir] [4]
Optional Lint: modules/app_yolo/app/inferpipeline.h#L102
[cpplint] reported by reviewdog 🐶 Add #include <string> for string [build/include_what_you_use] [4] Raw Output: modules/app_yolo/app/inferpipeline.h:102: Add #include <string> for string [build/include_what_you_use] [4]
Optional Lint: modules/app_yolo/appinterface/interface.cpp#L19
[cpplint] reported by reviewdog 🐶 Include the directory when naming header files [build/include_subdir] [4] Raw Output: modules/app_yolo/appinterface/interface.cpp:19: Include the directory when naming header files [build/include_subdir] [4]
Optional Lint
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
Optional Lint: scripts/config.sh#L25
[shellcheck] reported by reviewdog 🐶 Declare and assign separately to avoid masking return values. Raw Output: ./scripts/config.sh:25:8: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)
Optional Lint: scripts/config.sh#L32
[shellcheck] reported by reviewdog 🐶 CMAKE_ARM_ARGS appears unused. Verify use (or export if used externally). Raw Output: ./scripts/config.sh:32:1: warning: CMAKE_ARM_ARGS appears unused. Verify use (or export if used externally). (ShellCheck.SC2034)
Optional Lint: scripts/config.sh#L84
[shellcheck] reported by reviewdog 🐶 PACK_FLAG appears unused. Verify use (or export if used externally). Raw Output: ./scripts/config.sh:84:26: warning: PACK_FLAG appears unused. Verify use (or export if used externally). (ShellCheck.SC2034)
Optional Lint: modules/common/utils/common.hpp#L58
[misspell] reported by reviewdog 🐶 "serialisation" is a misspelling of "serialization" Raw Output: ./modules/common/utils/common.hpp:58:26: "serialisation" is a misspelling of "serialization"