Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

0.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Aug 19:11

Install

Dependencies:

  1. Install python and pip and ensure they're on the path.
  2. Install dprint's CLI >= 0.9.0

In .dprintrc.json:

  1. Specify the plugin url and checksum in the "plugins" array:

    {
      // etc...
      "plugins": [
        "https://plugins.dprint.dev/yapf-0.1.0.exe-plugin@ec45d2523526ae6c350a7320cf3c76b78474d358e3e58ace008774aee31d45e1"
      ]
    }
  2. Ensure the py extension is matched in an "includes" pattern.

  3. Add a "yapf" configuration property if desired.

    {
      // ...etc...
      "yapf": {
        "based_on_style": "pep8",
        "spaces_before_comment": 4
      }
    }