Skip to content

Commit

Permalink
ci: add settings (#16)
Browse files Browse the repository at this point in the history
* release v0.4.0

* Use MkDocs to generate the documentation (#1346)

* Use MkDocs to generate the documentation

* Serach all docs source files under the root directory

* Add space

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>

* Fix layout errors and 404 in the generated documentation (#1348)

* Specify the site_url to prevent layout errors
* Add README.md since the top-level file could not be generated
* Change the MathJax URL since the current one will be deprecated 

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: IshitaTakeshi <ishitah.takeshi@gmail.com>

* adding css and favicons (#1452)

* adding css and favicons

Signed-off-by: Masaya Kataoka <ms.kataoka@gmail.com>

* Update tierivcolor.css

* Rename CSS

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Don't remove css files

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add dependabot (#1561)

* add dependabot

* add pull request limit

* Change nested_indent for mkdocs (#1639)

* Change nested_indent for mkdocs

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix a lint issue

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add "/" to documentation URL

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add pre-commit (#1560)

* add pre-commit

* add pre-commit-config

* add additional settings for private repository

* use default pre-commit-config

* update pre-commit setting

* Ignore whitespace for line breaks in markdown

* Update .github/workflows/pre-commit.yml

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* exclude svg

* remove pretty-format-json

* add double-quote-string-fixer

* consider COLCON_IGNORE file when seaching modified package

* format file

* pre-commit fixes

* Update pre-commit.yml

* Update .pre-commit-config.yaml

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>
Co-authored-by: pre-commit <pre-commit@example.com>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>

* Add markdownlint and prettier (#1661)

* Add markdownlint and prettier

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Ignore .param.yaml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Apply format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix MD029 (#1813)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Invoke code formatter at pre-commit (#1935)

* Run ament_uncrustify at pre-commit

* Reformat existing files
* Fix copyright and cpplint errors

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>

* add sort-package-xml hook in pre-commit (#1881)

* add sort xml hook in pre-commit

* change retval to exit_status

* rename

* add prettier plugin-xml

* use early return

* add license note

* add tier4 license

* restore prettier

* change license order

* move local hooks to public repo

* move prettier-xml to pre-commit-hooks-ros

* update version for bug-fix

* apply pre-commit

* Add shellcheck (#2079)

* Add shellcheck

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix shellcheck

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* update pre-commit-hooks-ros to v0.2.0 (#2137)

* Auto-update pre-commit hooks (#2138)

Co-authored-by: KeisukeShima <KeisukeShima@users.noreply.github.com>

* Auto-update pre-commit hooks (#2146)

* Auto-update pre-commit hooks

* Update update-pre-commit.yml

Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>

* Add markdown-link-check pre-commit (#2215)

* add markdown-lint-check pre-commit

* delete files argument

* add optional hook

* modify comment

* add comment

* delete hook

* add retry option

* add option

* add files arg

* Fix links in hdd_reader.md

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Ignore 403

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Ignore tier4 github url

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Update link

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Auto-update pre-commit hooks (#2323)

Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>

* ignore .swp file (#1833)

* Add settings for new formatters (#2330)

* Update .pre-commit-config.yaml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Ignore .cu for cpplint

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Update .clang-format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add setup.cfg

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add CPPLINT.cfg

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add autoware-lint-common

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Remove unnecessary part

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add includeorder=standardcfirst

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Use clang-format-12

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add IncludeCategories to clang-format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Remove unnecessary file

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Temporarily comment out pre-commit hooks

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix indent miss

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Change include order rule and ignore build/include_order in cpplint

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Change formatter to clang-format and black (#2332)

* Revert "Temporarily comment out pre-commit hooks"

This reverts commit 748e9cdb145ce12f8b520bcbd97f5ff899fc28a3.

* Replace ament_lint_common with autoware_lint_common

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Remove ament_cmake_uncrustify and ament_clang_format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Apply Black

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Apply clang-format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix build errors

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix for cpplint

* Fix include double quotes to angle brackets

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Apply clang-format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix build errors

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Back port .auto control packages (#571)

* Implement Lateral and Longitudinal Control Muxer

* [#570] Porting wf_simulator

* [#1189] Deactivate flaky test in 'trajectory_follower_nodes'

* [#1189] Fix flacky test in 'trajectory_follower_nodes/latlon_muxer'

* [#1057] Add osqp_interface package

* [#1057] Add library code for MPC-based lateral control

* [#1271] Use std::abs instead of abs

* [#1057] Implement Lateral Controller for Cargo ODD

* [#1246] Resolve "Test case names currently use snake_case but should be CamelCase"

* [#1325] Deactivate flaky smoke test in 'trajectory_follower_nodes'

* [#1058] Add library code of longitudinal controller

* Fix build error for trajectory follower

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix build error for trajectory follower nodes

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* [#1272] Add AckermannControlCommand support to simple_planning_simulator

* [#1058] Add Longitudinal Controller node

* [#1058] Rename velocity_controller -> longitudinal_controller

* [#1058] Update CMakeLists.txt for the longitudinal_controller_node

* [#1058] Add smoke test python launch file

* [#1058] Use LowPassFilter1d from trajectory_follower

* [#1058] Use autoware_auto_msgs

* [#1058] Changes for .auto (debug msg tmp fix, common func, tf listener)

* [#1058] Remove unused parameters

* [#1058] Fix ros test

* [#1058] Rm default params from declare_parameters + use autoware types

* [#1058] Use default param file to setup NodeOptions in the ros test

* [#1058] Fix docstring

* [#1058] Replace receiving a Twist with a VehicleKinematicState

* [#1058] Change class variables format to m_ prefix

* [#1058] Fix plugin name of LongitudinalController in CMakeLists.txt

* [#1058] Fix copyright dates

* [#1058] Reorder includes

* [#1058] Add some tests (~89% coverage without disabling flaky tests)

* [#1058] Add more tests (90+% coverage without disabling flaky tests)

* [#1058] Use Float32MultiArrayDiagnostic message for debug and slope

* [#1058] Calculate wheel_base value from vehicle parameters

* [#1058] Cleanup redundant logger setting in tests

* [#1058] Set ROS_DOMAIN_ID when running tests to prevent CI failures

* [#1058] Remove TF listener and use published vehicle state instead

* [#1058] Change smoke tests to use autoware_testing

* [#1058] Add plotjuggler cfg for both lateral and longitudinal control

* [#1058] Improve design documents

* [#1058] Disable flaky test

* [#1058] Properly transform vehicle state in longitudinal node

* [#1058] Fix TF buffer of lateral controller

* [#1058] Tuning of lateral controller for LGSVL

* [#1058] Fix formating

* [#1058] Fix /tf_static sub to be transient_local

* [#1058] Fix yaw recalculation of reverse trajs in the lateral controller

* modify trajectory_follower for galactic build

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* [#1379] Update trajectory_follower

* [#1379] Update simple_planning_simulator

* [#1379] Update trajectory_follower_nodes

* apply trajectory msg modification in control

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* move directory

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remote control/trajectory_follower level dorectpry

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove .iv trajectory follower

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* use .auto trajectory_follower

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove .iv simple_planning_simulator & osqp_interface

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* use .iv simple_planning_simulator & osqp_interface

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add tmp_autoware_auto_dependencies

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* tmporally add autoware_auto_msgs

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* apply .auto message split

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix build depend

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix packages using osqp

* fix autoware_auto_geometry

* ignore lint of some packages

* ignore ament_lint of some packages

* ignore lint/pre-commit of trajectory_follower_nodes

* disable unit tests of some packages

Co-authored-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Co-authored-by: Joshua Whitley <josh.whitley@autoware.org>
Co-authored-by: Igor Bogoslavskyi <igor.bogoslavskyi@gmail.com>
Co-authored-by: MIURA Yasuyuki <kokosabu@gmail.com>
Co-authored-by: wep21 <border_goldenmarket@yahoo.co.jp>
Co-authored-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* Port parking planner packages from .Auto (#600)

* Copy code of 'vehicle_constants_manager'

* Fix vehicle_constants_manager for ROS galactic

* Rm .iv costmap_generator freespace_planner freespace_planning_aglorihtms

* Add astar_search (from .Auto)

* Copy freespace_planner from .Auto

* Update freespace_planner for .IV

* Copy costmap_generator from .Auto

* Copy and update had_map_utils from .Auto

* Update costmap_generator

* Copy costmap_generator_nodes

* Update costmap_generator_nodes

* Comment out all tests

* Move vehicle_constant_managers to tmp_autoware_auto_dependencies

* ignore pre-commit for back-ported packages

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* ignore testing

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* adding autoware_auto_perception_rviz_plugin (#574)

* [152] Implement BoundingBoxArray rviz display plugin.

* [285] Clear bounding box markers before adding new markers on new message

* [274] Trajectory visualization plugin

* raw types to sized type

* ControllerTestingNode: added publish_state(), publish_trajectory(), no timer hack to start test, all init is init()

* Squashed 'src/external/mpc/' changes from 8fc7cfdd..eaa5908b

eaa5908b Merge branch 'input-weight-modify' into 'master'
b9ee8e4f Update default mpc_controller_node parameters
8d15f49d Add weights to acceleration and steer controls; loosen simulation test case:

git-subtree-dir: src/external/mpc
git-subtree-split: eaa5908bdd987051a9dcd9c505f99bfd7f028547

* [#404] apply ament_auto macro to autoware_rviz_plugins

* Adding missing dependency on rviz2.

* Squashed 'src/external/autoware_auto_msgs/' changes from 56550efd..f40970ea

f40970ea Adding velocity_mps to VehicleControlCommand.

git-subtree-dir: src/external/autoware_auto_msgs
git-subtree-split: f40970ead34d36a695b432dc37accff9d67c17e2

* Update copyright headers to transfer ownership to Autoware Foundation

Signed-off-by: Juan Pablo Samper <jp.samper@apex.ai>

* Add CHANGELOG and update package versions for release

Add CHANGELOG and update package versions for release

* [#286] Parameterize boundingbox colors from rviz
 - Add visualization colours via Qt

* [#813] use autoware_set_compile_options() for nearly all compiled tests

- fix a few causes of warnings and disable warning flags as needed for
other tests
- set CXX_STANDARD strictly and only in a single place
- add CMake flag `AUTOWARE_OPTIMIZATION_OF_SLOW_TARGETS`. Default: OFF
- update building instructions and MR template
- fix nasty initialization error of static constexpr member in `GenericState`
of Kalman filter

* [#910] remove private compilation warning ignore flags

* [#900] Implement rviz plugin to visualize TrackedObjects

* [#1110] Implement rviz plugin for DetectedObjects msg

* Resolve "Clarify meaning of pose in *ObjectKinematics messages"

* [#1221] Add co-developed entry to copyright

* [#1282] Fix double free in ObjectPolygonDisplayBase rviz plugin

* [#1355] Make DetectedObject shape corners be in object-local coordinates

* porting AAP perception visualization from https://github.com/tier4/AutowareArchitectureProposal.iv/blob/main/perception/util/visualizer/dynamic_object_visualization/include/dynamic_object_visualization/dynamic_object_visualizer.hpp

* rename to autoware_auto_perception_rviz_plugin

* fix copyright

* format code

* fix typo

* convert camel to snake case

* Apply suggestions from code review

Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>

* change color

* replace boost::optional to std::optional

* add icons

* set marker id to value corresponding to the upper 32 bits of uuid

* format code

* change motorsycle color

* add uuid map to set marker id

* format code

* remove brief comment

* fix lint error

* fix include sort

* format code

* fix include

* add autoware_auto_perception_rviz_plugin to pre commit excluded list

Co-authored-by: Yunus Emre Caliskan <yunus.ec@gmail.com>
Co-authored-by: Christopher Ho <christopher.ho@apex.ai>
Co-authored-by: MIURA Yasuyuki <kokosabu@gmail.com>
Co-authored-by: Jit Ray Chowdhury <jit.ray.c@gmail.com>
Co-authored-by: Joshua Whitley <josh.whitley@autoware.org>
Co-authored-by: Juan Pablo Samper <jp.samper@apex.ai>
Co-authored-by: Jilada Eccleston <jilada.eccleston@tier4.jp>
Co-authored-by: Frederik Beaujean <Frederik.Beaujean@apex.ai>
Co-authored-by: Vincent Richard <vincent.francois.richard@gmail.com>
Co-authored-by: Gowtham <gowtham.ranganathan@apex.ai>
Co-authored-by: Nikolai Morin <nikolai.morin@apex.ai>
Co-authored-by: Igor Bogoslavskyi <igor.bogoslavskyi@gmail.com>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>

* style(prettier): change printWitdh

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* chore: add empty build_depends.repos

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* style: fix styles of .pre-commit-config.yaml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* docs(mkdocs): update settings

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* chore: update .gitignore

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* chore: update .markdown-link-check.json

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* chore: update .pre-commit-config.yaml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
Co-authored-by: Ishita Takeshi <ishitah.takeshi@gmail.com>
Co-authored-by: Masaya Kataoka <ms.kataoka@gmail.com>
Co-authored-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>
Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>
Co-authored-by: pre-commit <pre-commit@example.com>
Co-authored-by: autoware-iv-sync-ci[bot] <87871706+autoware-iv-sync-ci[bot]@users.noreply.github.com>
Co-authored-by: KeisukeShima <KeisukeShima@users.noreply.github.com>
Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Co-authored-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Co-authored-by: Joshua Whitley <josh.whitley@autoware.org>
Co-authored-by: Igor Bogoslavskyi <igor.bogoslavskyi@gmail.com>
Co-authored-by: MIURA Yasuyuki <kokosabu@gmail.com>
Co-authored-by: wep21 <border_goldenmarket@yahoo.co.jp>
Co-authored-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com>
Co-authored-by: Taichi Higashide <taichi.higashide@tier4.jp>
Co-authored-by: Yunus Emre Caliskan <yunus.ec@gmail.com>
Co-authored-by: Christopher Ho <christopher.ho@apex.ai>
Co-authored-by: Jit Ray Chowdhury <jit.ray.c@gmail.com>
Co-authored-by: Juan Pablo Samper <jp.samper@apex.ai>
Co-authored-by: Jilada Eccleston <jilada.eccleston@tier4.jp>
Co-authored-by: Frederik Beaujean <Frederik.Beaujean@apex.ai>
Co-authored-by: Vincent Richard <vincent.francois.richard@gmail.com>
Co-authored-by: Gowtham <gowtham.ranganathan@apex.ai>
Co-authored-by: Nikolai Morin <nikolai.morin@apex.ai>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
  • Loading branch information
1 parent 0b03b01 commit 57900c6
Show file tree
Hide file tree
Showing 12 changed files with 241 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
# Modified from https://github.com/ament/ament_lint/blob/master/ament_clang_format/ament_clang_format/configuration/.clang-format
Language: Cpp
BasedOnStyle: Google

AccessModifierOffset: -2
AlignAfterOpenBracket: AlwaysBreak
BraceWrapping:
AfterClass: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
BreakBeforeBraces: Custom
ColumnLimit: 100
ConstructorInitializerIndentWidth: 0
ContinuationIndentWidth: 2
DerivePointerAlignment: false
PointerAlignment: Middle
ReflowComments: true
IncludeCategories:
# C++ system headers
- Regex: "<[a-z_]*>"
Priority: 6
CaseSensitive: true
# C system headers
- Regex: '<.*\.h>'
Priority: 5
CaseSensitive: true
# Boost headers
- Regex: "boost/.*"
Priority: 4
CaseSensitive: true
# Message headers
- Regex: ".*_msgs/.*"
Priority: 3
CaseSensitive: true
# Other Package headers
- Regex: "<.*>"
Priority: 2
CaseSensitive: true
# Local package headers
- Regex: '".*"'
Priority: 1
CaseSensitive: true
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 1
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Vim
*.swp
*.swo

# Visual Studio Code
.vscode/
*.code-workspace

# colcon
build/
install/
log/

# Python
*.pyc

6 changes: 6 additions & 0 deletions .markdown-link-check.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"aliveStatusCodes": [200, 206, 403],
"ignorePatterns": [],
"retryOn429": true,
"retryCount": 10
}
6 changes: 6 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
default: true
MD013: false
MD024:
siblings_only: true
MD033: false
MD041: false
81 changes: 81 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
ci:
autofix_commit_msg: "ci(pre-commit): autofix"
autoupdate_commit_msg: "ci(pre-commit): autoupdate"

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-xml
- id: check-yaml
- 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
hooks:
- id: markdownlint
args: ["-c", ".markdownlint.yaml", "--fix"]

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

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

- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.17
hooks:
- id: shellcheck

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

- repo: https://github.com/psf/black
rev: 21.11b1
hooks:
- id: black
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",
]

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v12.0.1
hooks:
- id: clang-format

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

exclude: ".svg"
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.param.yaml
2 changes: 2 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
printWidth: 100
tabWidth: 2
1 change: 1 addition & 0 deletions build_depends.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repositories:
Binary file added docs/assets/images/autoware-foundation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 62 additions & 0 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
site_name: Autoware Universe Documentation
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"

theme:
name: material
features:
- navigation.expand
- navigation.instant
- navigation.sections
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
favicon: assets/images/autoware-foundation.png
icon:
logo: fontawesome/solid/car
repo: fontawesome/brands/github
language: en
palette:
- primary: white
- scheme: default
toggle:
icon: material/weather-sunny
name: Switch to dark mode
- scheme: slate
toggle:
icon: material/weather-night
name: Switch to light mode

extra:
font:
text: Roboto
code: Roboto Mono

extra_css:
- https://use.fontawesome.com/releases/v5.15.4/css/all.css

extra_javascript:
- https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML

plugins:
- awesome-pages
- same-dir
- search

markdown_extensions:
- admonition
- attr_list
- codehilite: { guess_lang: false }
- fontawesome_markdown
- footnotes
- mdx_math
- mdx_truly_sane_lists: { nested_indent: 2 }
- mdx_unimoji
- plantuml_markdown: { server: "http://www.plantuml.com/plantuml", format: svg }
- pymdownx.arithmatex
- pymdownx.highlight
- pymdownx.superfences
- toc: { permalink: "#" }
15 changes: 15 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[flake8]
# Modified from https://github.com/ament/ament_lint/blob/ebd524bb9973d5ec1dc48a670ce54f958a5a0243/ament_flake8/ament_flake8/configuration/ament_flake8.ini
extend-ignore = B902,C816,D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D404,I202,CNL100,E203,E501,Q000
import-order-style = google
max-line-length = 100
show-source = true
statistics = true

[isort]
profile=black
line_length=100
force_sort_within_sections=true
force_single_line=true
reverse_relative=true
known_third_party=launch

0 comments on commit 57900c6

Please sign in to comment.