mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
add lint stage to github
This commit is contained in:
parent
244765a2b2
commit
707fbc1d3e
8
.github/workflows/check-lint.yml
vendored
8
.github/workflows/check-lint.yml
vendored
@ -11,7 +11,7 @@ on:
|
|||||||
- 'release/**'
|
- 'release/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
@ -62,10 +62,10 @@ jobs:
|
|||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
- name: Analysing the code with mypy
|
- name: Analysing the code with mypy
|
||||||
run: |
|
run: |
|
||||||
mypy .
|
poetry run mypy .
|
||||||
- name: Analysing the code with flake8
|
- name: Analysing the code with flake8
|
||||||
run: |
|
run: |
|
||||||
flake8
|
poetry run flake8
|
||||||
- name: Analysing code with isort
|
- name: Analysing code with isort
|
||||||
run: |
|
run: |
|
||||||
isort --check-only app
|
poetry run isort --check-only app
|
Loading…
x
Reference in New Issue
Block a user