Skip to content

Commit d69a433

Browse files
committed
move linter into same action as build.yml
1 parent 13696e1 commit d69a433

File tree

2 files changed

+20
-27
lines changed

2 files changed

+20
-27
lines changed

.github/workflows/black.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,23 @@ jobs:
5858
run: |
5959
cd docs
6060
make html
61+
62+
lint:
63+
runs-on: ubuntu-latest
64+
steps:
65+
- name: checkout
66+
uses: actions/checkout@v2
67+
68+
- name: Setup Python
69+
uses: actions/setup-python@v2
70+
with:
71+
python-version: 3.8
72+
73+
- name: install black
74+
run: |
75+
python -m ensurepip
76+
pip install black
77+
78+
- name: run linter
79+
run: |
80+
black twitchio --line-length 120 --verbose --check

0 commit comments

Comments
 (0)