Skip to content

Pre commit

Pre commit #564

name: Static Code Analysis
on: push
jobs:
static-code-analysis:
runs-on: ubuntu-latest
name: Static Code Analysis
steps:
- uses: actions/checkout@v3
- id: common
uses: ghga-de/gh-action-common@v3
- uses: pre-commit/action@v3.0.0
env:
SKIP: no-commit-to-branch
- name: ruff
uses: chartboost/ruff-action@v1
- name: black
run: |
black --check .
- name: mypy
run: |
mypy .
- name: Check license header and file
run: |
./scripts/license_checker.py