Replace yapf with black as formatter

This commit is contained in:
Milan Stute
2020-11-30 19:52:15 +01:00
parent 5e2ff4210f
commit c926eaf710
13 changed files with 480 additions and 319 deletions
+3 -3
View File
@@ -22,10 +22,10 @@ jobs:
- name: Install package
run: |
pip install -e .
- name: Check format with yapf
- name: Check format with black
run: |
pip install yapf
yapf . -r --diff
pip install black
black . --check --diff
- name: Lint with flake8
run: |
pip install flake8