-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
57 lines (38 loc) · 799 Bytes
/
Makefile
File metadata and controls
57 lines (38 loc) · 799 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PACKAGE=pylighter
TEST_DIR=test
default:
clean:
find . -type f -name '*.pyc' -delete
find . -type f -path '*/__pycache__/*' -delete
find . -type d -empty -delete
install:
pip install -e
install-dev:
pip install -e ".[dev]"
upgrade:
pip install --upgrade pip setuptools
release:
fullrelease
.PHONY: default clean install install-dev upgrade release
source:
python setup.py sdist
build:
python setup.py bdist_wheel
.PHONY: source build
test:
pytest
test-quality: flake8 check-manifest isort
test-all:
tox -e py
test-all-envs:
tox
.PHONY: test test-quality test-all test-all-envs
flake8:
flake8 $(PACKAGE)
flake8 $(TEST_DIR)
check-manifest:
check-manifest
isort:
isort --check --diff $(PACKAGE)
isort --check --diff $(TEST_DIR)
.PHONY: flake8 check-manifest isort