Skip to content

linting fixups

linting fixups #18

Triggered via push December 21, 2024 07:45
Status Failure
Total duration 4m 22s
Artifacts 1

build.yml

on: push
Matrix: build-ubuntu
Matrix: build-windows
Matrix: clang-tidy
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
clang-tidy (clang-release): text_mod_loader\file_parser\util.cpp#L63
clang-tidy: variable 'first_word' of type 'CaseInsensitiveStringView' can be declared 'const' (misc-const-correctness)
clang-tidy (clang-release): text_mod_loader\file_parser\blcm_parser.cpp#L45
clang-tidy: variable 'category_name' of type 'CaseInsensitiveStringView' can be declared 'const' (misc-const-correctness)
clang-tidy (clang-release): text_mod_loader\file_parser\filtertool_parser.cpp#L17
clang-tidy: use a ranges version of this algorithm (modernize-use-ranges)
clang-tidy (clang-release): text_mod_loader\file_parser\filtertool_parser.cpp#L20
clang-tidy: variable 'trimmed' of type 'std::string_view' (aka 'basic_string_view<char>') can be declared 'const' (misc-const-correctness)
clang-tidy (clang-release): text_mod_loader\file_parser\filtertool_parser.cpp#L24
clang-tidy: variable 'category_name' of type 'CaseInsensitiveStringView' can be declared 'const' (misc-const-correctness)
clang-tidy (clang-release): text_mod_loader\file_parser\parse_result.cpp#L14
clang-tidy: variable 'comment_view' of type 'std::string_view' (aka 'basic_string_view<char>') can be declared 'const' (misc-const-correctness)
clang-tidy (clang-release): text_mod_loader\file_parser\main.cpp#L47
clang-tidy: variable 'line_view' of type 'CaseInsensitiveStringView' can be declared 'const' (misc-const-correctness)
clang-tidy (clang-release)
Found 7 clang-tidy issues
spelling
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ruff
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pyright
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
msvc-release
477 KB