-
Notifications
You must be signed in to change notification settings - Fork 68
/
Makefile
45 lines (30 loc) · 971 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
40
41
42
43
44
45
.PHONY: test unit lint style eslint checkdocs coverage upload outdated
all: test
test:
py.test --cov=./ --codestyle --docstyle --pylint --pylint-rcfile=pylintrc --pylint-error-types=RCWEF
unit:
py.test --cov=./
lint:
py.test --pylint -m pylint --pylint-rcfile=pylintrc --pylint-error-types=RCWEF
style:
py.test --codestyle -m codestyle
eslint:
./node_modules/.bin/eslint bowtie/src/*.js{,x}
prettier:
./node_modules/.bin/prettier bowtie/src/*.js{,x} --write
checkdocs:
pydocstyle --count --match-dir='(?!examples|build|node_modules|doc|.*templates)[^\.].*'
coverage:
py.test --cov=./ --cov-report html
loop:
py.test --pylint --pylint-rcfile=pylintrc --pylint-error-types=RCWEF -f
debug:
py.test --pylint --pylint-rcfile=pylintrc --pylint-error-types=RCWEF -s --pdb
static:
mypy -p bowtie
monkeytype:
monkeytype run `which pytest`
outdated:
cd bowtie/src && yarn --ignore-engines install && yarn outdated
black:
black -S -l 100 -t py36 bowtie