mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-12-13 08:20:38 +03:00
add lint stage to github
This commit is contained in:
2
.github/workflows/check-lint.yml
vendored
2
.github/workflows/check-lint.yml
vendored
@@ -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
|
||||
|
||||
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user