Skip to content

Commit 759ce2b

Browse files
pylint: allow some short variables
`t` sounds like a reasonable variable names in tests, `ok` sounds like a reasonable variable names in general. This patch disables C0103 invalid-name check for them. Part of #270
1 parent df6df52 commit 759ce2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.pylintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[BASIC]
2+
3+
# Good variable names which should always be accepted, separated by a comma
4+
good-names=i,j,k,ex,Run,_,ok,t

0 commit comments

Comments
 (0)