forked from online-go/goratings
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (23 loc) · 697 Bytes
/
Makefile
File metadata and controls
32 lines (23 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
help:
@echo "make test: Run tests"
@echo "make lint: Run linters"
.venv venv:
virtualenv -ppython3 .venv
.venv/bin/pip install -r requirements.txt
100k:
python -m goratings
test: .venv
.venv/bin/tox -e py3
cov coverage: .venv
@set -e && .venv/bin/tox -e coverage
lint: .venv
@set -e && .venv/bin/tox -e linters
format black: .venv
isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --use-parentheses --line-width=88 unit_tests goratings analysis/util
.venv/bin/tox -e linters --notest
.tox/linters/bin/black --line-length 120 --target-version py38 goratings unit_tests analysis/util
shippable-test:
tox -e py3
shippable-lint:
tox -e linters
.PHONY: lint test format