Skip to content

Fix comments

Fix comments #569

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@v2
- uses: pre-commit/action@v3.0.0
env:
SKIP: no-commit-to-branch
- name: black
run: |
black --check .
- name: isort
run: |
isort --check --profile black .
- name: mypy
run: |
mypy .
- name: pylint
run: |
pylint "${{ steps.common.outputs.MAIN_SRC_DIR }}"
- name: flake8
run: |
flake8 --config .flake8
- name: bandit
run: |
bandit -r "${{ steps.common.outputs.MAIN_SRC_DIR }}"
- name: Check license header and file
run: |
./scripts/license_checker.py