Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/spell-check-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
uses: autowarefoundation/autoware-github-actions/spell-check@v1
with:
cspell-json-url: https://raw.githubusercontent.com/autowarefoundation/autoware-spell-check-dict/main/.cspell.json
local-cspell-json: .cspell.json
dict-packages: |
https://github.com/autowarefoundation/autoware-spell-check-dict
https://github.com/tier4/cspell-dicts
1 change: 1 addition & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ MD041: false
MD045: false
MD046: false
MD049: false
MD059: false
4 changes: 2 additions & 2 deletions .pre-commit-config-optional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ci:

repos:
- repo: https://github.com/tcort/markdown-link-check
rev: v3.13.6
rev: v3.13.7
hooks:
- id: markdown-link-check
args: [-q]
args: [--quiet, --config=.markdown-link-check.json]
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.43.0
rev: v0.45.0
hooks:
- id: markdownlint
args: [-c, .markdownlint.yaml, --fix]
Expand All @@ -37,7 +37,7 @@ repos:
- id: prettier

- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
rev: v1.37.1
hooks:
- id: yamllint

Expand All @@ -62,37 +62,37 @@ repos:
- id: shellcheck

- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.10.0-2
rev: v3.12.0-2
hooks:
- id: shfmt
args: [-w, -s, -i=4]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 6.0.1
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
args: [--line-length=100]

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.6
rev: v20.1.8
hooks:
- id: clang-format
types_or: [c++, c, cuda]

- repo: https://github.com/cpplint/cpplint
rev: 2.0.0
rev: 2.0.2
hooks:
- id: cpplint
args: [--quiet]
exclude: .cu

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.30.0
rev: 0.33.2
hooks:
- id: check-metaschema
files: ^.+/schema/.*schema\.json$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
class TestRegulatoryElementDetailsForVirtualTrafficLightsValidator : public MapValidationTester
{
protected:
const std::string test_target_ =
std::string(lanelet::autoware::validation::
RegulatoryElementDetailsForVirtualTrafficLightsValidator::name());
const std::string test_target_ = std::string(
lanelet::autoware::validation::RegulatoryElementDetailsForVirtualTrafficLightsValidator::
name());
};

TEST_F(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ TEST_F(JsonProcessingTest, ParseValidatorsWithValidInput)
validators["parsing.valid_input.no_prerequisites2"].prereq_with_forgive_warnings.size(), 0);
EXPECT_EQ(
validators["parsing.valid_input.with_prerequisites1"].prereq_with_forgive_warnings.size(), 2);
EXPECT_TRUE(validators["parsing.valid_input.with_prerequisites1"]
.prereq_with_forgive_warnings["parsing.valid_input.no_prerequisites1"]);
EXPECT_FALSE(validators["parsing.valid_input.with_prerequisites1"]
.prereq_with_forgive_warnings["parsing.valid_input.no_prerequisites2"]);
EXPECT_TRUE(
validators["parsing.valid_input.with_prerequisites1"]
.prereq_with_forgive_warnings["parsing.valid_input.no_prerequisites1"]);
EXPECT_FALSE(
validators["parsing.valid_input.with_prerequisites1"]
.prereq_with_forgive_warnings["parsing.valid_input.no_prerequisites2"]);
}

TEST_F(JsonProcessingTest, CreateValidationQueueNoCycles)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ TEST_F(VersionControlTest, AddValidationInfo) // NOLINT for gtest
ASSERT_FALSE(has_duplicate_attributes(validation_node));

EXPECT_STREQ(validation_node.attribute("name").value(), "autoware_lanelet2_map_validator");
EXPECT_TRUE(std::regex_match(
validation_node.attribute("validator_version").value(), version_format_regex_));
EXPECT_TRUE(
std::regex_match(
validation_node.attribute("validator_version").value(), version_format_regex_));
EXPECT_STREQ(validation_node.attribute("requirements").value(), "autoware_requirement_set.json");
EXPECT_STREQ(validation_node.attribute("requirements_version").value(), "1.2.3");

Expand Down Expand Up @@ -120,8 +121,9 @@ TEST_F(VersionControlTest, ModifyValidationInfo) // NOLINT for gtest
ASSERT_FALSE(has_duplicate_attributes(validation_node));

EXPECT_STREQ(validation_node.attribute("name").value(), "autoware_lanelet2_map_validator");
EXPECT_TRUE(std::regex_match(
validation_node.attribute("validator_version").value(), version_format_regex_));
EXPECT_TRUE(
std::regex_match(
validation_node.attribute("validator_version").value(), version_format_regex_));
EXPECT_STRNE(validation_node.attribute("validator_version").value(), "0.0.0");
EXPECT_STREQ(validation_node.attribute("requirements").value(), "original_requirement_set.json");
EXPECT_STREQ(validation_node.attribute("requirements_version").value(), "1.2.3");
Expand Down
Loading