ADD: compliant check #560
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: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Whist-Team/actions/setup-poetry@v2 | |
with: | |
python-version: '3.13' | |
- name: Lint sources with flake8 | |
run: poetry run flake8 rechnung --count --show-source --statistics | |
- uses: articulate/actions-markdownlint@v1 | |
with: | |
ignore: static/ | |
- name: Lint sources with pylint | |
run: poetry run pylint --load-plugins=pylint_django --django-settings-module=rechnung.test_settings rechnung invoice | |
security: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run bandit | |
uses: tj-actions/bandit@v5 | |
with: | |
targets: | | |
rechnung | |
options: "-r -c pyproject.toml -x rechnung/test_settings.py" |