add lint stage to github

This commit is contained in:
Dmitry Afanasyev 2022-08-14 23:54:04 +03:00
parent 707fbc1d3e
commit 6ad60f210f
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ jobs:
poetry run mypy .
- name: Analysing the code with flake8
run: |
poetry run flake8
poetry run flake8 .
- name: Analysing code with isort
run: |
poetry run isort --check-only app

View File

@ -1,9 +1,9 @@
import pytest
from aiogram import Bot, types
from aiogram.dispatcher.filters.builtin import Command
from app.core.bot import dispatcher
from app.tests.conftest import FakeTelegram
from app.tests.data.factories import UserFactory
from core.bot import dispatcher
pytestmark = [
pytest.mark.asyncio,