Skip to content
Snippets Groups Projects
Commit c09cba98 authored by Valentin Syrovatskiy's avatar Valentin Syrovatskiy
Browse files

chore: developer's tools and commands

parent 9e32a42c
No related branches found
No related tags found
1 merge request!153python developer's tools and commands
Pipeline #7217 passed
python 3.10.5
.PHONY: default lint test
.PHONY: default fmt lint test check fat
default: ;
fmt:
cargo fmt
pipenv run fmt
lint:
cargo fmt --check
cargo check
......@@ -11,3 +15,12 @@ lint:
test:
cargo test
pipenv run pytest
check:
@$(MAKE) lint --no-print-directory
@$(MAKE) test --no-print-directory
fat:
@$(MAKE) fmt --no-print-directory
@$(MAKE) lint --no-print-directory
@$(MAKE) test --no-print-directory
......@@ -17,6 +17,11 @@ pytest-clarity = "*"
python_version = "3.10"
[scripts]
fmt = """bash -c "
set -e -x
pipenv run black ./test
"
"""
lint = """bash -c "
set -e -x
pipenv run flake8 ./test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment