1
0
Fork 0

fix(build): sort imports in tests

This commit is contained in:
Sean Sube 2023-09-15 08:44:02 -05:00
parent a71298ff33
commit d8ea00582e
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.PHONY: ci check-venv pip pip-dev lint-check lint-fix test typecheck package package-dist package-upload
.PHONY: ci check-venv pip pip-dev lint-check lint-fix test typecheck package package-dist package-upload style
onnx_env: ## create virtual env
python -v venv onnx_env
@ -33,13 +33,17 @@ package-upload:
lint-check:
black --check onnx_web/
isort --check-only --skip __init__.py --filter-files onnx_web
flake8 onnx_web
isort --check-only --skip __init__.py --filter-files onnx_web
isort --check-only --skip __init__.py --filter-files tests
lint-fix:
black onnx_web/
isort --skip __init__.py --filter-files onnx_web
flake8 onnx_web
isort --skip __init__.py --filter-files onnx_web
isort --skip __init__.py --filter-files tests
style: lint-fix
typecheck:
mypy onnx_web