Skip to content

Commit

Permalink
style: apply yamllint
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
Kenji Miyake committed Dec 14, 2021
1 parent 98cb6bf commit aeb363a
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 33 deletions.
11 changes: 5 additions & 6 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
# Modified from https://github.com/ament/ament_lint/blob/master/ament_clang_format/ament_clang_format/configuration/.clang-format
Language: Cpp
BasedOnStyle: Google
Expand All @@ -19,23 +18,23 @@ PointerAlignment: Middle
ReflowComments: true
IncludeCategories:
# C++ system headers
- Regex: "<[a-z_]*>"
- Regex: <[a-z_]*>
Priority: 6
CaseSensitive: true
# C system headers
- Regex: '<.*\.h>'
- Regex: <.*\.h>
Priority: 5
CaseSensitive: true
# Boost headers
- Regex: "boost/.*"
- Regex: boost/.*
Priority: 4
CaseSensitive: true
# Message headers
- Regex: ".*_msgs/.*"
- Regex: .*_msgs/.*
Priority: 3
CaseSensitive: true
# Other Package headers
- Regex: "<.*>"
- Regex: <.*>
Priority: 2
CaseSensitive: true
# Local package headers
Expand Down
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: github-actions
directory: /
schedule:
interval: "daily"
interval: daily
open-pull-requests-limit: 1
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build-and-test-scheduled

on:
schedule:
- cron: "0 19 * * *" # run at 4 AM JST
- cron: 0 19 * * * # run at 4 AM JST
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-closed-pr-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: delete-closed-pr-docs

on:
schedule:
- cron: "0 19 * * *" # run at 4 AM JST
- cron: 0 19 * * * # run at 4 AM JST
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
- tier4/proposal
paths:
- "mkdocs.yaml"
- mkdocs.yaml
- "**/*.md"
- "**/*.svg"
- "**/*.png"
Expand Down
26 changes: 13 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
rev: v0.30.0
hooks:
- id: markdownlint
args: ["-c", ".markdownlint.yaml", "--fix"]
args: [-c, .markdownlint.yaml, --fix]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.0
Expand Down Expand Up @@ -60,22 +60,22 @@ repos:
rev: 21.11b1
hooks:
- id: black
args: ["--line-length=100"]
args: [--line-length=100]

- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
[
"flake8-blind-except",
"flake8-builtins",
"flake8-class-newline",
"flake8-comprehensions",
"flake8-deprecated",
"flake8-docstrings",
"flake8-import-order",
"flake8-quotes",
flake8-blind-except,
flake8-builtins,
flake8-class-newline,
flake8-comprehensions,
flake8-deprecated,
flake8-docstrings,
flake8-import-order,
flake8-quotes,
]

- repo: https://github.com/pre-commit/mirrors-clang-format
Expand All @@ -87,7 +87,7 @@ repos:
rev: 1.5.5
hooks:
- id: cpplint
args: ["--quiet"]
exclude: ".cu"
args: [--quiet]
exclude: .cu

exclude: ".svg|control/trajectory_follower|control/trajectory_follower_nodes|common/autoware_auto_dependencies|common/autoware_auto_perception_rviz_plugin|common/osqp_interface|simulator/simple_planning_simulator|planning/freespace_planner|planning/astar_search|planning/costmap_generator"
exclude: .svg|control/trajectory_follower|control/trajectory_follower_nodes|common/autoware_auto_dependencies|common/autoware_auto_perception_rviz_plugin|common/osqp_interface|simulator/simple_planning_simulator|planning/freespace_planner|planning/astar_search|planning/costmap_generator
19 changes: 12 additions & 7 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ site_url: https://autowarefoundation.github.io/autoware.universe
repo_url: https://github.com/autowarefoundation/autoware.universe
edit_uri: edit/main/
docs_dir: .
copyright: "Copyright &copy; 2021 The Autoware Foundation"
copyright: Copyright &copy; 2021 The Autoware Foundation

theme:
name: material
Expand Down Expand Up @@ -50,22 +50,27 @@ plugins:
- awesome-pages
- exclude:
regex:
- '^(?!(.*/)?assets/).*\.(?!(.*\.)?md|(.*\.)?svg|(.*\.)?png|(.*\.)?jpg).*$'
- "^(.*/)?[^.]*$"
- ^(?!(.*/)?assets/).*\.(?!(.*\.)?md|(.*\.)?svg|(.*\.)?png|(.*\.)?jpg).*$
- ^(.*/)?[^.]*$
- same-dir
- search

markdown_extensions:
- admonition
- attr_list
- codehilite: { guess_lang: false }
- codehilite:
guess_lang: false
- fontawesome_markdown
- footnotes
- mdx_math
- mdx_truly_sane_lists: { nested_indent: 2 }
- mdx_truly_sane_lists:
nested_indent: 2
- mdx_unimoji
- plantuml_markdown: { server: "http://www.plantuml.com/plantuml", format: svg }
- plantuml_markdown:
server: http://www.plantuml.com/plantuml
format: svg
- pymdownx.arithmatex
- pymdownx.highlight
- pymdownx.superfences
- toc: { permalink: "#" }
- toc:
permalink: "#"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pcl_grid_map_extraction:
x: 0.0
y: 0.0
z: 0.0
rotation: #intrinsic rotation X-Y-Z (r-p-y)sequence
rotation: # intrinsic rotation X-Y-Z (r-p-y)sequence
r: 0.0
p: 0.0
y: 0.0
Expand Down

0 comments on commit aeb363a

Please sign in to comment.