Skip to content

Commit f7a4384

Browse files
committed
Ignore ".git" directory when using "Yapf".
1 parent d3ba9d2 commit f7a4384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def formatting(ctx, yapf=False, asciify=True, bibtex=True):
9898

9999
if yapf:
100100
message_box('Formatting codebase with "Yapf"...')
101-
ctx.run('yapf -p -i -r .')
101+
ctx.run('yapf -p -i -r --exclude \'.git\' .')
102102

103103
if asciify:
104104
message_box('Converting unicode characters to ASCII...')

0 commit comments

Comments
 (0)