Skip to content

Commit 40885db

Browse files
committed
[Makefile] update black and test-lint targets
1 parent 00b1b9c commit 40885db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 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 --exclude="difflib.py" lib/fdiff/*.py lib/fdiff/thirdparty/fdifflib.py
55

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

3131
test-lint:
32-
flake8 --ignore=E501,W50 lib/fdiff
32+
flake8 --ignore=E501,W50 --exclude="difflib.py" lib/fdiff
3333

3434
test-type-check:
3535
pytype lib/fdiff

0 commit comments

Comments
 (0)