add lint stage to github

This commit is contained in:
Dmitry Afanasyev 2022-08-14 23:50:37 +03:00
parent 244765a2b2
commit 707fbc1d3e

View File

@ -11,7 +11,7 @@ on:
- 'release/**'
jobs:
test:
lint:
runs-on: ubuntu-latest
steps:
#----------------------------------------------
@ -62,10 +62,10 @@ jobs:
#----------------------------------------------
- name: Analysing the code with mypy
run: |
mypy .
poetry run mypy .
- name: Analysing the code with flake8
run: |
flake8
poetry run flake8
- name: Analysing code with isort
run: |
isort --check-only app
poetry run isort --check-only app