Skip to content

Commit

Permalink
chore!: merge v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mojomex authored Sep 24, 2024
2 parents 18af521 + 4f54c3b commit 856ac4c
Show file tree
Hide file tree
Showing 325 changed files with 27,837 additions and 19,579 deletions.
3 changes: 3 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ IncludeCategories:
- Regex: '".*"'
Priority: 1
CaseSensitive: true
---
Language: Json
BasedOnStyle: llvm
38 changes: 25 additions & 13 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,57 @@
"words": [
"adctp",
"Adctp",
"applicate",
"AT",
"autosar",
"block_id",
"Bpearl",
"calib",
"centi",
"ddeg",
"DHAVE",
"Difop",
"extrinsics",
"fout",
"gprmc",
"gptp",
"Helios",
"Hesai",
"horiz",
"Idat",
"ipaddr",
"manc",
"memcpy",
"mkdoxy",
"Msop",
"nohup",
"nproc",
"nsec",
"ntoa",
"pandar",
"PANDAR",
"PANDARAT",
"PANDARQT",
"PANDARXT",
"Pdelay",
"Piyush",
"piyushk",
"QT",
"rclcpp",
"schedutil",
"srvs",
"STD_COUT",
"stds",
"struct",
"structs",
"UDP_SEQ",
"usec",
"vccint",
"Vccint",
"Vdat",
"Wbitwise",
"XT",
"XTM",
"DHAVE",
"Bpearl",
"Helios",
"Msop",
"Difop",
"gptp",
"Idat",
"Vdat",
"autosar",
"srvs",
"manc",
"ipaddr",
"ntoa"
"yukkysaito"
]
}
1 change: 0 additions & 1 deletion .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ jobs:
fail_ci_if_error: false
verbose: true
flags: differential

28 changes: 22 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,44 @@
# cspell: ignore nojekyll
name: documentation
on:
push:
branches:
- develop
- main
pull_request:
types: [closed]
permissions:
contents: write
id-token: write
pages: write
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
if: github.event_name == 'push' || github.event.pull_request.merged == true
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: |
sudo apt update && sudo apt install -y doxygen && \
pip install mkdocs-material \
mkdocs \
pip install mkdocs \
mkdocs-material \
Jinja2 \
ruamel.yaml && \
pip install git+https://github.com/JakubAndrysek/mkdoxy
- run: mkdocs gh-deploy --force
- run: mkdocs build --site-dir _site
- run: touch _site/.nojekyll
- run: |
chmod -c -R +rX "_site/" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- uses: actions/upload-pages-artifact@v3
- uses: actions/deploy-pages@v4
39 changes: 39 additions & 0 deletions .github/workflows/json-schema-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: json-schema-check

on:
pull_request:
workflow_dispatch:

jobs:
check-if-relevant-files-changed:
runs-on: ubuntu-latest
outputs:
run-check: ${{ steps.paths_filter.outputs.json_or_yaml }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: paths_filter
with:
filters: |
json_or_yaml:
- '**/schema/*.schema.json'
- '**/config/**/*.param.yaml'
json-schema-check:
needs: check-if-relevant-files-changed
if: needs.check-if-relevant-files-changed.outputs.run-check == 'true'
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Run json-schema-check
uses: autowarefoundation/autoware-github-actions/json-schema-check@main

no-relevant-changes:
needs: check-if-relevant-files-changed
if: needs.check-if-relevant-files-changed.outputs.run-check == 'false'
runs-on: ubuntu-latest
steps:
- name: Dummy step
run: echo "No relevant changes, passing check"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ site/

# qcreator stuff
CMakeLists.txt.user

# pre-commit
node_modules/
6 changes: 5 additions & 1 deletion .markdown-link-check.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"aliveStatusCodes": [200, 206, 403],
"aliveStatusCodes": [
200,
206,
403
],
"ignorePatterns": [
{
"pattern": "^http://localhost"
Expand Down
25 changes: 13 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,65 +4,66 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.6.0
hooks:
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-xml
- id: check-yaml
args: [--allow-multiple-documents]
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.30.0
rev: v0.40.0
hooks:
- id: markdownlint
args: [-c, .markdownlint.yaml, --fix]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
rev: v3.1.0
hooks:
- id: prettier

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

- repo: https://github.com/tier4/pre-commit-hooks-ros
rev: v0.4.0
rev: v0.8.0
hooks:
- id: prettier-package-xml
- id: sort-package-xml

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.8.0.3
rev: v0.10.0.1
hooks:
- id: shellcheck

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

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

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

- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -78,12 +79,12 @@ repos:
]

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v13.0.0
rev: v18.1.5
hooks:
- id: clang-format

- repo: https://github.com/cpplint/cpplint
rev: 1.5.5
rev: 1.6.1
hooks:
- id: cpplint
args: [--quiet]
Expand Down
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.param.yaml
*.yaml
*.rviz
*.json
9 changes: 6 additions & 3 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
extends: default

ignore: |
*.param.yaml
rules:
braces:
level: error
Expand All @@ -13,10 +10,16 @@ rules:
document-start:
level: error
present: false # Don't need document start markers
ignore:
- .clang-format # Needs '---' between languages
line-length: disable # Delegate to Prettier
truthy:
level: error
check-keys: false # To allow 'on' of GitHub Actions
quoted-strings:
level: error
required: only-when-needed # To keep consistent style
indentation:
spaces: consistent
indent-sequences: true
check-multi-line-strings: false
Loading

0 comments on commit 856ac4c

Please sign in to comment.