Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.
/ dprint-plugin-yapf Public archive

DEPRECATED - yapf wrapper Python code formatting plugin for dprint

License

Notifications You must be signed in to change notification settings

dprint/dprint-plugin-yapf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dprint-plugin-yapf

CI

Wrapper around yapf in order to use it as a dprint plugin.

DEPRECATED - Use dprint-plugin-exec instead

This plugin is deprecated and won't receive updates anymore. You can still format with yapf via dprint's cli though (and with many other formatting CLIs)! See dprint-plugin-exec and search for yapf.

Old Archived Instructions

Install

  1. Install dprint
  2. Follow instructions at https://github.com/dprint/dprint-plugin-yapf/releases/

Configuration

See yapf's configuration here.

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