Skip to content

Commit 9b4cb5a

Browse files
Regression tests for setup.cfg's options using the wrong section failing silently (#6335)
* Regression tests for #4272 Closes #4272. The problem was fixed during the migration from optparse to argparse. Co-authored-by: Daniël van Noord <[email protected]>
1 parent 52b8898 commit 9b4cb5a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Test for the behaviour of https://github.com/PyCQA/pylint/issues/4272
2+
[pylint.NOTMASTER]
3+
load-plugins=pylint.extensions.bad_builtin
4+
[pylint.MASTER]
5+
persistent=no
6+
[pylint.DEPRECATED_BUILTINS]
7+
bad-functions=print,map
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"load_plugins": ["pylint.extensions.bad_builtin"],
3+
"persistent": false,
4+
"bad_functions": ["print", "map"]
5+
}

0 commit comments

Comments
 (0)