-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
54 lines (46 loc) · 876 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
46
47
48
49
50
51
52
53
54
black-check:
black --check --diff .
black-reformat:
black .
flake_ignore = --ignore=E203,E266,E501,W503
flake_options = --isolated --max-line-length=88
flake8:
flake8 ${flake_exclude} ${flake_ignore} ${flake_options}
isort-check:
isort \
--case-sensitive \
--check-only \
--line-width=88 \
--multi-line=3 \
--thirdparty=abjad \
--thirdparty=abjadext \
--thirdparty=baca \
--thirdparty=ply \
--thirdparty=uqbar \
--trailing-comma \
--use-parentheses \
.
isort-reformat:
isort \
--case-sensitive \
--line-width=88 \
--multi-line=3 \
--thirdparty=abjad \
--thirdparty=abjadext \
--thirdparty=baca \
--thirdparty=ply \
--thirdparty=uqbar \
--trailing-comma \
--use-parentheses \
.
reformat:
make black-reformat
make isort-reformat
check:
make black-check
make flake8
make isort-check
test:
make black-check
make flake8
make isort-check