Skip to content

Commit 0248dc3

Browse files
committed
[Makefile] update black line length, flake ignores, type check approach
converts to mypy from pytype as static type check tool
1 parent 6b9be7e commit 0248dc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
all: install
22

33
black:
4-
black lib/fdiff/*.py
4+
black -l 90 lib/fdiff/*.py
55

66
clean:
77
- rm dist/*.whl dist/*.tar.gz dist/*.zip
@@ -29,10 +29,10 @@ test-coverage:
2929
# coverage html
3030

3131
test-lint:
32-
flake8 --ignore=E501,W50 lib/fdiff
32+
flake8 --ignore=W50 lib/fdiff
3333

3434
test-type-check:
35-
pytype lib/fdiff
35+
mypy lib/fdiff
3636

3737
test-unit:
3838
tox

0 commit comments

Comments
 (0)