forked from databricks/databricks-sdk-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (29 loc) · 744 Bytes
/
Makefile
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
33
34
35
36
37
38
39
dev:
python3 -m venv .venv
. .venv/bin/activate
pip install '.[dev]'
install:
pip install .
fmt:
yapf -pri databricks tests
autoflake -ri databricks tests
isort databricks tests
fmte:
yapf -pri examples
autoflake -ri examples
isort examples
lint:
pycodestyle databricks
autoflake --check-diff --quiet --recursive databricks
test:
pytest -m 'not integration and not benchmark' --cov=databricks --cov-report html tests
integration:
pytest -n auto -m 'integration and not benchmark' --dist loadgroup --cov=databricks --cov-report html tests
benchmark:
pytest -m 'benchmark' tests
coverage: test
open htmlcov/index.html
dist:
python3 setup.py bdist_wheel sdist
clean:
rm -fr dist *.egg-info .pytest_cache build htmlcov