Skip to content

Commit

Permalink
Add .style.yapf config that matches the Google internal style guide.
Browse files Browse the repository at this point in the history
Unfortunately the Google internal formating is different from PEP8
(column limit 79 -> 80 and indent width 4 -> 2, a few things around when
and how to split lines). YAPFs own style matches this.

YAPF will automatically pick up the config when run anywhere inside the
repository.
  • Loading branch information
Marvin182 authored and avital committed Aug 11, 2020
1 parent 277877c commit 2d04bef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .style.yapf
@@ -0,0 +1,2 @@
[style]
based_on_style: yapf

0 comments on commit 2d04bef

Please sign in to comment.