Update ament_flake8 and flake8 in the pre-commit #14
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
--- | |
name: Lint | |
on: | |
pull_request: | |
push: | |
jobs: | |
ament_lint_general: | |
name: ament_${{ matrix.linter }} | |
runs-on: ubuntu-latest | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [xmllint, pep257] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
with: | |
linter: ${{ matrix.linter }} | |
distribution: humble | |
package-name: human_detector | |
ament_flake8: | |
name: ament_flake8 | |
runs-on: ubuntu-latest | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
with: | |
linter: flake8 | |
distribution: humble | |
package-name: human_detector | |
arguments: --config python_linter.flake8 |