Skip to content

Commit 4a6d00d

Browse files
committed
Use 'make format FLAGS=--check' instead of 'make checkformat'
1 parent d95666f commit 4a6d00d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
2020
- run: make check
2121
- run: make test
22-
- run: make checkformat
22+
- run: make format FLAGS=--check

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ all: venv format check test build
88

99
.PHONY: format
1010
format: venv
11-
.venv/bin/black typeagent test tools
12-
13-
checkformat: venv
14-
.venv/bin/black --check typeagent test tools
11+
.venv/bin/black typeagent test tools $(FLAGS)
1512

1613
.PHONY: check
1714
check: venv

0 commit comments

Comments
 (0)