Skip to content

Commit cbc48e5

Browse files
authoredJul 22, 2024··
Add black format workflow
1 parent 192d7d5 commit cbc48e5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
 

‎.github/workflows/format.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Format Python
2+
3+
on: [push, pull_request]
4+
jobs:
5+
format:
6+
name: Format
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Setup Python 3.9
11+
uses: actions/setup-python@v4
12+
with:
13+
python-version: 3.9
14+
- name: Check formatting
15+
run: |
16+
pip install click==8.0.4 black==21.6b0
17+
black --check --diff ./

0 commit comments

Comments
 (0)
Please sign in to comment.