Fix style being used with yapf 0.30.0

This commit is contained in:
Jean-Michel Picod
2020-04-24 12:38:10 +02:00
parent f471fc4b5e
commit 5ea58bc018
2 changed files with 3 additions and 3 deletions

View File

@@ -39,8 +39,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install yapf tockloader
pip install 'yapf>=0.30.0' tockloader
- name: Test code formatting with yapf
run: |
echo ::add-matcher::./.github/python_matcher.json
yapf --style=chromium --recursive --exclude third_party --diff .
yapf --style=yapf --recursive --exclude third_party --diff .