-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MISC] Use pre-commit, bump min py version -> 3.8
Also includes: * [MISC] Avoid running twice the CI jobs when doing a PR * [MISC] Handle correctly the case of flexible format + single non-required topic.
- Loading branch information
1 parent
a8d2ab2
commit 0f8f4bd
Showing
29 changed files
with
532 additions
and
592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"ignorePatterns": [ | ||
{ | ||
"pattern": "^https://docs.slamcore.com/release_23.04/ros2-wrapper.html$" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"verbose": false, | ||
"no-duplicate-header": { | ||
"allow_different_nesting": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: "v4.4.0" | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: check-merge-conflict | ||
- id: check-toml | ||
- id: debug-statements | ||
- id: detect-private-key | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
- id: trailing-whitespace | ||
- repo: https://github.com/tcort/markdown-link-check | ||
rev: "v3.10.3" | ||
hooks: | ||
# https://github.com/tcort/markdown-link-check#config-file-format | ||
- id: markdown-link-check | ||
args: ["--progress", "--config", ".markdown-link-check.json"] | ||
- repo: https://github.com/markdownlint/markdownlint | ||
rev: "v0.12.0" | ||
hooks: | ||
- id: markdownlint | ||
# exclude: ^.github/ | ||
entry: mdl -c .markdownlint.json -r ~MD024,~MD033,~MD013,~MD034,~MD029,~MD007 | ||
- repo: local | ||
hooks: | ||
- id: black | ||
name: Black formatter | ||
description: "Black: The uncompromising Python code formatter" | ||
entry: black | ||
language: system | ||
require_serial: true | ||
types_or: [python, pyi] | ||
- id: isort | ||
name: Isort check | ||
entry: isort | ||
language: system | ||
pass_filenames: true | ||
types: [python] | ||
- id: check-poetry | ||
name: Poetry check | ||
description: Validates the structure of the pyproject.toml file | ||
entry: poetry check | ||
language: system | ||
pass_filenames: false | ||
files: pyproject.toml | ||
- repo: meta | ||
hooks: | ||
- id: check-hooks-apply | ||
- id: check-useless-excludes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.