Skip to content

Commit 7adcc13

Browse files
author
Matt Sokoloff
committed
fix
1 parent 9a67b24 commit 7adcc13

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks.git
3-
sha: v4.0.1
4-
hooks:
5-
- id: trailing-whitespace
6-
- id: end-of-file-fixer
7-
82
- repo: https://github.com/google/yapf
93
rev: v0.31.0
104
hooks:
115
- id: yapf
126
name: "yapf"
13-
args: [--style, google]
7+
args: [-i, --style, google]

test.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
def hello_world():
22
print("hello world")
33

4-
5-
6-
7-
8-
9-
if 5 == 5: print("goodbye world")
4+
if 5 == 5:
5+
print("goodbye world")

0 commit comments

Comments
 (0)