From 707fbc1d3eff41e3994f4fe7480d14e9f211db39 Mon Sep 17 00:00:00 2001 From: Dmitry Afanasyev Date: Sun, 14 Aug 2022 23:50:37 +0300 Subject: [PATCH] add lint stage to github --- .github/workflows/check-lint.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-lint.yml b/.github/workflows/check-lint.yml index 948a83e..f42712e 100644 --- a/.github/workflows/check-lint.yml +++ b/.github/workflows/check-lint.yml @@ -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 \ No newline at end of file + poetry run isort --check-only app \ No newline at end of file