Skip to content

Commit 06d9457

Browse files
committed
fix pylint to match datasheet names
1 parent d5a06ff commit 06d9457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pylintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ argument-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
267267
# attr-name-hint=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
268268

269269
# Regular expression matching correct attribute names
270-
attr-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
270+
attr-rgx=(([A-Za-z][a-z0-9_]{1,30})|(_[a-z0-9_]*))$
271271

272272
# Bad variable names which should always be refused, separated by a comma
273273
bad-names=foo,bar,baz,toto,tutu,tata
@@ -304,7 +304,7 @@ function-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
304304

305305
# Good variable names which should always be accepted, separated by a comma
306306
# good-names=i,j,k,ex,Run,_
307-
good-names=r,g,b,w,i,j,k,n,x,y,z,ex,ok,Run,_
307+
good-names=r,g,b,w,i,j,k,n,x,y,z,ex,ok,Run,_,I,O,C,N
308308

309309
# Include a hint for the correct naming format with invalid-name
310310
include-naming-hint=no

0 commit comments

Comments
 (0)