add lint stage to github

This commit is contained in:
Dmitry Afanasyev 2022-08-15 00:35:40 +03:00
parent 46aa577da8
commit 8e7821258b
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ jobs:
- name: Analysing the code with mypy
run: |
source .venv/bin/activate
poetry run mypy .
poetry run mypy app
- name: Analysing the code with flake8
run: |
poetry run flake8 app

View File

@ -13,7 +13,7 @@ env_path = BASE_DIR.joinpath('config')
config = AutoConfig(search_path=env_path)
GECKO_DRIVER_VERSION = config('GECKO_DRIVER_VERSION')
GECKO_DRIVER_VERSION = config('GECKO_DRIVER_VERSION', default='0.31.0')
API_TOKEN = config('API_TOKEN')