python: flake8 and mypy separated

This commit is contained in:
sshakndr
2023-11-28 13:49:12 +07:00
parent d397db61cd
commit 9d5feaaf99
2 changed files with 9 additions and 1 deletions

View File

@ -32,3 +32,8 @@ jobs:
- name: Lint Flake8
run: |
make lint
# TODO: Configure mypy
# - name: Types mypy
# run: |
# make types

View File

@ -46,8 +46,11 @@ compose-prod: # Up containers in a production environment.
up --detach
.PHONY: lint
lint: # Lint the source code for style and check for types.
lint: # Lint the source code for style.
@flake8 --count --show-source --statistics
.PHONY: types
types: # Check the source code for types.
@mypy .
.PHONY: test