Skip to content

Commit 49ebf7b

Browse files
authored
Add 'clean' target (#8)
1 parent ea2c38c commit 49ebf7b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ format-check:
1919
yapf --diff $(SRCS) \
2020
|| (echo "Some files require formatting. Run 'make format' to fix." && exit 1)
2121

22+
.PHONY: clean
23+
clean:
24+
git clean -Xfd
25+
2226
ifndef VERBOSE
2327
.SILENT:
2428
endif

test_something.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
def test_something_pass():
22
value = "foo"
3-
assert value == "foo"
3+
assert value == "foo"

0 commit comments

Comments
 (0)