Skip to content

Commit db24276

Browse files
committed
Makefile: Add "autoformat" rule to format all the code
1 parent b0f3642 commit db24276

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,13 @@ valgrind: build $(PYTHON_SUPP)
8080
fi
8181

8282
# Code autoformatter
83-
.PHONY: indent
83+
.PHONY: autoformat indent autopep8
84+
autoformat: indent autopep8
85+
8486
indent:
8587
indent Modules/*.c Modules/*.h
8688
rm -f Modules/*.c~ Modules/*.h~
8789

88-
.PHONY: autopep8
8990
autopep8:
9091
$(PYTHON) -m autopep8 -r -i -j0 $(AUTOPEP8_OPTS) \
9192
Demo Lib Tests setup.py

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy