We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a67b24 commit 7adcc13Copy full SHA for 7adcc13
.pre-commit-config.yaml
@@ -1,13 +1,7 @@
1
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
-
8
- repo: https://github.com/google/yapf
9
rev: v0.31.0
10
hooks:
11
- id: yapf
12
name: "yapf"
13
- args: [--style, google]
+ args: [-i, --style, google]
test.py
@@ -1,9 +1,5 @@
def hello_world():
print("hello world")
- if 5 == 5: print("goodbye world")
+ if 5 == 5:
+ print("goodbye world")
0 commit comments