Skip to content

Commit 89e5f7f

Browse files
awf-autoware-bot[bot]kenji-miyakeKenji Miyakepre-commit-ci[bot]
authored
chore: sync files (#5)
* chore: sync files Signed-off-by: GitHub <[email protected]> * add .pre-commit-config.yaml Signed-off-by: Kenji Miyake <[email protected]> * ci(pre-commit): autofix Co-authored-by: kenji-miyake <[email protected]> Co-authored-by: Kenji Miyake <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 381d927 commit 89e5f7f

6 files changed

+65
-3
lines changed

.github/workflows/build-and-test-differential.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Upload coverage to CodeCov
4444
if: ${{ steps.test.outputs.coverage-report-files != '' }}
45-
uses: codecov/codecov-action@v2
45+
uses: codecov/codecov-action@v3
4646
with:
4747
files: ${{ steps.test.outputs.coverage-report-files }}
4848
fail_ci_if_error: false

.github/workflows/build-and-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
- name: Upload coverage to CodeCov
4343
if: ${{ steps.test.outputs.coverage-report-files != '' }}
44-
uses: codecov/codecov-action@v2
44+
uses: codecov/codecov-action@v3
4545
with:
4646
files: ${{ steps.test.outputs.coverage-report-files }}
4747
fail_ci_if_error: false

.markdownlint.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
# See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md for all rules.
12
default: true
23
MD013: false
34
MD024:
45
siblings_only: true
56
MD033: false
67
MD041: false
78
MD046: false
9+
MD049: false

.pre-commit-config.yaml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.1.0
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.31.1
22+
hooks:
23+
- id: markdownlint
24+
args: [-c, .markdownlint.yaml, --fix]
25+
26+
- repo: https://github.com/pre-commit/mirrors-prettier
27+
rev: v2.6.2
28+
hooks:
29+
- id: prettier
30+
31+
- repo: https://github.com/adrienverge/yamllint
32+
rev: v1.26.3
33+
hooks:
34+
- id: yamllint
35+
36+
- repo: https://github.com/tier4/pre-commit-hooks-ros
37+
rev: v0.6.0
38+
hooks:
39+
- id: prettier-package-xml
40+
- id: sort-package-xml
41+
42+
exclude: .svg

.prettierrc.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
11
printWidth: 100
22
tabWidth: 2
3+
overrides:
4+
- files: package.xml
5+
options:
6+
printWidth: 1000
7+
xmlSelfClosingSpace: false
8+
xmlWhitespaceSensitivity: ignore
9+
10+
- files: "*.launch.xml"
11+
options:
12+
printWidth: 200
13+
xmlSelfClosingSpace: false
14+
xmlWhitespaceSensitivity: ignore
15+
16+
- files: "*.xacro"
17+
options:
18+
printWidth: 200
19+
xmlSelfClosingSpace: false
20+
xmlWhitespaceSensitivity: ignore

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# autoware_msgs
1+
# autoware_msgs

0 commit comments

Comments
 (0)