This repository has been archived by the owner on Mar 27, 2022. It is now read-only.
0.1.0
Install
Dependencies:
- Install python and pip and ensure they're on the path.
- Install dprint's CLI >= 0.9.0
In .dprintrc.json:
-
Specify the plugin url and checksum in the
"plugins"
array:{ // etc... "plugins": [ "https://plugins.dprint.dev/yapf-0.1.0.exe-plugin@ec45d2523526ae6c350a7320cf3c76b78474d358e3e58ace008774aee31d45e1" ] }
-
Ensure the
py
extension is matched in an"includes"
pattern. -
Add a
"yapf"
configuration property if desired.{ // ...etc... "yapf": { "based_on_style": "pep8", "spaces_before_comment": 4 } }