Skip to content

Commit 5bab357

Browse files
committed
meta: add GitHub action to black --check .
1 parent ffa8c84 commit 5bab357

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: Set up Python
11+
uses: actions/setup-python@v1
12+
with:
13+
python-version: 3.7
14+
- name: Install black
15+
run: pip install black
16+
- name: Check formating
17+
run: black --check .
18+

0 commit comments

Comments
 (0)