google / google/yapf

Function name convention did not apply

Open
#887 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14k
Forks
904
PR merge metrics
No merged PRs in 30d

Description

I just use yapf command and my original code has a function with violated-convention name e.g. ```Func1``` and the given command did not fix it.

```
yapf -d a.py
--- a.py (original)
+++ a.py (reformatted)
@@ -1,8 +1,12 @@
import sys
import cus.hello

-a=a+2
+a = a + 2
+
+
def Func1(a):
- return a+1
+ return a + 1
+
+
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.