Skip to content
Snippets Groups Projects
Commit 5ea58bc0 authored by Jean-Michel Picod's avatar Jean-Michel Picod
Browse files

Fix style being used with yapf 0.30.0

parent f471fc4b
No related branches found
No related tags found
No related merge requests found
......@@ -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 .
......@@ -15,7 +15,7 @@
// Try to make VSCode formating as close as possible to the Google style.
"python.formatting.provider": "yapf",
"python.formatting.yapfArgs": [
"--style=chromium"
"--style=yapf"
],
"python.linting.enabled": true,
"python.linting.lintOnSave": true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment