Skip to content

Commit 57900c6

Browse files
kenji-miyakemitsudome-rIshitaTakeshihakuturu583KeisukeShima
authored
ci: add settings (#16)
* 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>
1 parent 0b03b01 commit 57900c6

12 files changed

+241
-0
lines changed

.clang-format

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
# Modified from https://github.com/ament/ament_lint/blob/master/ament_clang_format/ament_clang_format/configuration/.clang-format
3+
Language: Cpp
4+
BasedOnStyle: Google
5+
6+
AccessModifierOffset: -2
7+
AlignAfterOpenBracket: AlwaysBreak
8+
BraceWrapping:
9+
AfterClass: true
10+
AfterFunction: true
11+
AfterNamespace: true
12+
AfterStruct: true
13+
BreakBeforeBraces: Custom
14+
ColumnLimit: 100
15+
ConstructorInitializerIndentWidth: 0
16+
ContinuationIndentWidth: 2
17+
DerivePointerAlignment: false
18+
PointerAlignment: Middle
19+
ReflowComments: true
20+
IncludeCategories:
21+
# C++ system headers
22+
- Regex: "<[a-z_]*>"
23+
Priority: 6
24+
CaseSensitive: true
25+
# C system headers
26+
- Regex: '<.*\.h>'
27+
Priority: 5
28+
CaseSensitive: true
29+
# Boost headers
30+
- Regex: "boost/.*"
31+
Priority: 4
32+
CaseSensitive: true
33+
# Message headers
34+
- Regex: ".*_msgs/.*"
35+
Priority: 3
36+
CaseSensitive: true
37+
# Other Package headers
38+
- Regex: "<.*>"
39+
Priority: 2
40+
CaseSensitive: true
41+
# Local package headers
42+
- Regex: '".*"'
43+
Priority: 1
44+
CaseSensitive: true

.github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
open-pull-requests-limit: 1

.gitignore

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Vim
2+
*.swp
3+
*.swo
4+
5+
# Visual Studio Code
6+
.vscode/
7+
*.code-workspace
8+
9+
# colcon
10+
build/
11+
install/
12+
log/
13+
14+
# Python
15+
*.pyc
16+

.markdown-link-check.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"aliveStatusCodes": [200, 206, 403],
3+
"ignorePatterns": [],
4+
"retryOn429": true,
5+
"retryCount": 10
6+
}

.markdownlint.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
default: true
2+
MD013: false
3+
MD024:
4+
siblings_only: true
5+
MD033: false
6+
MD041: false

.pre-commit-config.yaml

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
ci:
2+
autofix_commit_msg: "ci(pre-commit): autofix"
3+
autoupdate_commit_msg: "ci(pre-commit): autoupdate"
4+
5+
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v4.0.1
8+
hooks:
9+
- id: check-json
10+
- id: check-merge-conflict
11+
- id: check-toml
12+
- id: check-xml
13+
- id: check-yaml
14+
- id: detect-private-key
15+
- id: end-of-file-fixer
16+
- id: mixed-line-ending
17+
- id: trailing-whitespace
18+
args: [--markdown-linebreak-ext=md]
19+
20+
- repo: https://github.com/igorshubovych/markdownlint-cli
21+
rev: v0.30.0
22+
hooks:
23+
- id: markdownlint
24+
args: ["-c", ".markdownlint.yaml", "--fix"]
25+
26+
- repo: https://github.com/pre-commit/mirrors-prettier
27+
rev: v2.5.0
28+
hooks:
29+
- id: prettier
30+
31+
- repo: https://github.com/tier4/pre-commit-hooks-ros
32+
rev: v0.4.0
33+
hooks:
34+
- id: prettier-package-xml
35+
- id: sort-package-xml
36+
37+
- repo: https://github.com/gruntwork-io/pre-commit
38+
rev: v0.1.17
39+
hooks:
40+
- id: shellcheck
41+
42+
- repo: https://github.com/pycqa/isort
43+
rev: 5.10.1
44+
hooks:
45+
- id: isort
46+
47+
- repo: https://github.com/psf/black
48+
rev: 21.11b1
49+
hooks:
50+
- id: black
51+
args: ["--line-length=100"]
52+
53+
- repo: https://github.com/PyCQA/flake8
54+
rev: 4.0.1
55+
hooks:
56+
- id: flake8
57+
additional_dependencies:
58+
[
59+
"flake8-blind-except",
60+
"flake8-builtins",
61+
"flake8-class-newline",
62+
"flake8-comprehensions",
63+
"flake8-deprecated",
64+
"flake8-docstrings",
65+
"flake8-import-order",
66+
"flake8-quotes",
67+
]
68+
69+
- repo: https://github.com/pre-commit/mirrors-clang-format
70+
rev: v12.0.1
71+
hooks:
72+
- id: clang-format
73+
74+
- repo: https://github.com/cpplint/cpplint
75+
rev: 1.5.5
76+
hooks:
77+
- id: cpplint
78+
args: ["--quiet"]
79+
exclude: ".cu"
80+
81+
exclude: ".svg"

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.param.yaml

.prettierrc.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
printWidth: 100
2+
tabWidth: 2

build_depends.repos

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
repositories:
30.9 KB
Loading

mkdocs.yaml

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
site_name: Autoware Universe Documentation
2+
site_url: https://autowarefoundation.github.io/autoware.universe
3+
repo_url: https://github.com/autowarefoundation/autoware.universe
4+
edit_uri: edit/main/
5+
docs_dir: .
6+
copyright: "Copyright &copy; 2021 The Autoware Foundation"
7+
8+
theme:
9+
name: material
10+
features:
11+
- navigation.expand
12+
- navigation.instant
13+
- navigation.sections
14+
- navigation.tabs
15+
- navigation.tabs.sticky
16+
- navigation.top
17+
favicon: assets/images/autoware-foundation.png
18+
icon:
19+
logo: fontawesome/solid/car
20+
repo: fontawesome/brands/github
21+
language: en
22+
palette:
23+
- primary: white
24+
- scheme: default
25+
toggle:
26+
icon: material/weather-sunny
27+
name: Switch to dark mode
28+
- scheme: slate
29+
toggle:
30+
icon: material/weather-night
31+
name: Switch to light mode
32+
33+
extra:
34+
font:
35+
text: Roboto
36+
code: Roboto Mono
37+
38+
extra_css:
39+
- https://use.fontawesome.com/releases/v5.15.4/css/all.css
40+
41+
extra_javascript:
42+
- https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML
43+
44+
plugins:
45+
- awesome-pages
46+
- same-dir
47+
- search
48+
49+
markdown_extensions:
50+
- admonition
51+
- attr_list
52+
- codehilite: { guess_lang: false }
53+
- fontawesome_markdown
54+
- footnotes
55+
- mdx_math
56+
- mdx_truly_sane_lists: { nested_indent: 2 }
57+
- mdx_unimoji
58+
- plantuml_markdown: { server: "http://www.plantuml.com/plantuml", format: svg }
59+
- pymdownx.arithmatex
60+
- pymdownx.highlight
61+
- pymdownx.superfences
62+
- toc: { permalink: "#" }

setup.cfg

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[flake8]
2+
# Modified from https://github.com/ament/ament_lint/blob/ebd524bb9973d5ec1dc48a670ce54f958a5a0243/ament_flake8/ament_flake8/configuration/ament_flake8.ini
3+
extend-ignore = B902,C816,D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D404,I202,CNL100,E203,E501,Q000
4+
import-order-style = google
5+
max-line-length = 100
6+
show-source = true
7+
statistics = true
8+
9+
[isort]
10+
profile=black
11+
line_length=100
12+
force_sort_within_sections=true
13+
force_single_line=true
14+
reverse_relative=true
15+
known_third_party=launch

0 commit comments

Comments
 (0)