Skip to content

Commit c1b5cfa

Browse files
committed
Black in CI
1 parent 57dee30 commit c1b5cfa

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3535
# exit-zero treats all errors as warnings.
3636
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=89 --statistics
37+
- name: Black
38+
run: |
39+
black --check .
3740
- name: Test with pytest
3841
run: |
3942
python setup.py install

dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
black
12
flake8
23
pytest
34
pytest-cov

0 commit comments

Comments
 (0)