From 8e7821258ba8fbf8a98b5f82a979a213e9442dd6 Mon Sep 17 00:00:00 2001 From: Dmitry Afanasyev Date: Mon, 15 Aug 2022 00:35:40 +0300 Subject: [PATCH] add lint stage to github --- .github/workflows/check-lint.yml | 2 +- app/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-lint.yml b/.github/workflows/check-lint.yml index b4ffbe4..495a4ef 100644 --- a/.github/workflows/check-lint.yml +++ b/.github/workflows/check-lint.yml @@ -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 diff --git a/app/settings.py b/app/settings.py index 617bec0..a2148d5 100644 --- a/app/settings.py +++ b/app/settings.py @@ -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')