add_commands_into_diagramm" (#47) #58
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: Python linters | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
lint: | |
name: Check the code with python linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
pip install isort black flake8 flake8-docstrings | |
- name: Check with isort | |
run: isort . --check --profile black --skip migrations --skip-glob "*settings*" | |
- name: Check with black | |
run: black . --check --line-length 79 --exclude 'migrations/|.*settings(\.py|/)?' | |
- name: Check with flake8 | |
run: flake8 . |