Skip to content

fix board constructor back rank pieces (#19) #19

fix board constructor back rank pieces (#19)

fix board constructor back rank pieces (#19) #19

Triggered via push December 12, 2023 17:11
Status Success
Total duration 50s
Artifacts

cpp-linter.yml

on: push
cpp-linter
40s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

1 error, 10 warnings, and 5 notices
/tests/test.cpp:1:10 [clang-diagnostic-error]: tests/test.cpp#L1
'catch2/catch_test_macros.hpp' file not found
/src/board.cpp:150:19 [performance-for-range-copy]: src/board.cpp#L150
loop variable is copied but only used as const reference; consider making it a const reference
Run clang-format on src/board.cpp: src/board.cpp#L1
File src/board.cpp does not conform to Custom style guidelines. (lines 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 28, 29, 30, 31, 33, 34, 36, 37, 38, 39, 40, 41, 43, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71, 75, 76, 80, 81, 82, 83, 84, 85, 89, 90, 94, 95, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 121, 122, 123, 124, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 138, 139, 140, 141, 142, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 161, 163, 164, 165, 166, 170, 171, 172, 173, 174, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 194)
Run clang-format on src/board.hpp: src/board.hpp#L1
File src/board.hpp does not conform to Custom style guidelines. (lines 4, 14, 15, 16, 17, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
Run clang-format on src/piece.cpp: src/piece.cpp#L1
File src/piece.cpp does not conform to Custom style guidelines. (lines 6, 7, 11, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 44, 48, 49, 52, 53, 56, 57, 60, 61, 64, 65, 68, 69, 72, 74, 77, 80, 81, 85, 86, 90, 91, 95, 96, 100, 101)
Run clang-format on src/piece.hpp: src/piece.hpp#L1
File src/piece.hpp does not conform to Custom style guidelines. (lines 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 32, 33, 34, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 53, 54, 55, 56, 57, 60, 61, 62, 63, 66, 67, 68, 69, 72, 73, 74, 75, 78, 79, 80, 81, 84, 85, 86, 87)
Run clang-format on tests/test.cpp: tests/test.cpp#L1
File tests/test.cpp does not conform to Custom style guidelines. (lines 31, 32, 33, 34, 35, 36, 38, 39, 40, 41, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 85, 88, 89, 90, 91, 92, 94, 95, 96, 99, 102, 103, 104, 105, 106, 107, 108, 109, 110)