mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
python: flake8 and mypy separated
This commit is contained in:
5
.github/workflows/lint-python.yml
vendored
5
.github/workflows/lint-python.yml
vendored
@ -32,3 +32,8 @@ jobs:
|
|||||||
- name: Lint Flake8
|
- name: Lint Flake8
|
||||||
run: |
|
run: |
|
||||||
make lint
|
make lint
|
||||||
|
|
||||||
|
# TODO: Configure mypy
|
||||||
|
# - name: Types mypy
|
||||||
|
# run: |
|
||||||
|
# make types
|
||||||
|
|||||||
@ -46,8 +46,11 @@ compose-prod: # Up containers in a production environment.
|
|||||||
up --detach
|
up --detach
|
||||||
|
|
||||||
.PHONY: lint
|
.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
|
@flake8 --count --show-source --statistics
|
||||||
|
|
||||||
|
.PHONY: types
|
||||||
|
types: # Check the source code for types.
|
||||||
@mypy .
|
@mypy .
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
|||||||
Reference in New Issue
Block a user