Skip to content

Commit 96c95ce

Browse files
committed
black: add command
1 parent aa0796f commit 96c95ce

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

black

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
syntax: bash
3+
tags: [ python, development ]
4+
---
5+
# Formats the python code of the specified file or directory:
6+
black <path>
7+
8+
# Checks if the code is already well-formatted:
9+
black --check <path>
10+
11+
# Show the changes that would be applied to the code:
12+
black --diff <path>

0 commit comments

Comments
 (0)