mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +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
|
||||
run: |
|
||||
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
|
||||
|
||||
.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
|
||||
|
||||
Reference in New Issue
Block a user