Skip to content

Commit ade06ed

Browse files
authored
Merge pull request #3 from tekktrik/main
Update .pylintrc
2 parents 154f5bd + e0f69c4 commit ade06ed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.pylintrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs=1
2626

2727
# List of plugins (as comma separated values of python modules names) to load,
2828
# usually to register additional checkers.
29-
load-plugins=
29+
load-plugins=pylint.extensions.no_self_use
3030

3131
# Pickle collected data for later comparisons.
3232
persistent=yes
@@ -54,6 +54,7 @@ confidence=
5454
# --enable=similarities". If you want to run only the classes checker, but have
5555
# no Warning level messages displayed, use"--disable=all --enable=classes
5656
# --disable=W"
57+
# disable=import-error,raw-checker-failed,bad-inline-option,locally-disabled,file-ignored,suppressed-message,useless-suppression,deprecated-pragma,deprecated-str-translate-call
5758
disable=raw-checker-failed,bad-inline-option,locally-disabled,file-ignored,suppressed-message,useless-suppression,deprecated-pragma,import-error,pointless-string-statement,unspecified-encoding
5859

5960
# Enable the message, report, category or checker with the given id(s). You can
@@ -280,6 +281,9 @@ function-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
280281
# good-names=i,j,k,ex,Run,_
281282
good-names=r,g,b,w,i,j,k,n,x,y,z,ex,ok,Run,_
282283

284+
# Include a hint for the correct naming format with invalid-name
285+
include-naming-hint=no
286+
283287
# Regular expression matching correct inline iteration names
284288
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
285289

0 commit comments

Comments
 (0)