-
-
Notifications
You must be signed in to change notification settings - Fork 316
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (28 loc) · 649 Bytes
/
Makefile
File metadata and controls
42 lines (28 loc) · 649 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
# -*- coding: utf-8 -*-
.PHONY: clean build bump deploy black blackcheck check test tests deps devdeps
clean:
rm -rf dist/ build/ *.egg-info/
build: clean
python setup.py sdist bdist_wheel --universal
bump:
./scripts/bump-version.py
deploy: build
./scripts/deploy.sh
black:
./scripts/blacken.sh
blackcheck:
./scripts/blacken.sh --check
lint:
flake8
typecheck:
mypy ffsubsync
check_no_typing:
INTEGRATION=1 pytest --cov-config=.coveragerc --cov=ffsubsync
check: blackcheck typecheck check_no_typing
test: check
tests: check
deps:
pip install -r requirements.txt
devdeps:
pip install -e .
pip install -r requirements-dev.txt