Skip to content

Commit 1574e4c

Browse files
pylint: ignore unknown-option-value
Disabling any new pylint warnings per-entity results in older pylint failing due to unknown option. Since we support several pylint versions due to Python version restrictions, we need to support multiple pylint versions as well.
1 parent 938db75 commit 1574e4c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pylintrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ good-names=i,j,k,ex,Run,_,ok,t,tz
66
[FORMAT]
77
# Allow links in docstings, allow tables
88
ignore-long-lines=^(?:\s*(# )?(?:\.\.\s.+?:)?\s*<?https?://\S+>?)|(\s\+.+\+)|(\s\|.+\|)$
9+
10+
[MESSAGES CONTROL]
11+
# Ignore unknown options to support per-entity ignores for newest warnings/errors
12+
# which are not supported for older versions.
13+
disable=unknown-option-value

0 commit comments

Comments
 (0)