Comms bridge #2391
Workflow file for this run
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
# Check for lint error and auto correct them | |
name: Check for lint errors | |
on: ['push', 'pull_request', 'workflow_dispatch'] | |
jobs: | |
lint_check_cpp: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check repo for lint errors | |
run: ./scripts/git/cpplint_repo.py . | |
lint_check_python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install linters | |
run: | | |
pip install click==8.0.1 black==22.1.0 isort==5.10.1 | |
- name: Run black | |
run: | | |
black . --diff --extend-exclude cmake --check | |
- name: Run isort | |
run: | | |
isort . --diff --extend-skip cmake --profile black --check-only |