-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: Daniël van Noord <[email protected]>
- Loading branch information
1 parent
e820200
commit 15470d1
Showing
8 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
I should just print | ||
************* Module Command line or configuration file | ||
Command line or configuration file:1:0: E0013: Plugin 'pylint_flask' is impossible to load, is it installed ? ('No module named 'pylint_flask'') (bad-plugin-value) |
12 changes: 12 additions & 0 deletions
12
tests/config/functional/setup_cfg/issue_3630/not_setup.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# We load all sections as this is not a file that requires correct section headers | ||
[tool.pylint.MASTER] | ||
init-hook='print("I should just print")' | ||
|
||
# We still load from pylint. | ||
[pylint.MASTER] | ||
load-plugins=pylint_flask | ||
|
||
# We even load from section without pylint in their name | ||
[FORMAT] | ||
max-line-length=220 | ||
max-module-lines=2001 |
5 changes: 5 additions & 0 deletions
5
tests/config/functional/setup_cfg/issue_3630/not_setup.result.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"load_plugins": ["pylint_flask"], | ||
"max_line_length": 220, | ||
"max_module_lines": 2001 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
************* Module Command line or configuration file | ||
Command line or configuration file:1:0: E0013: Plugin 'pylint_flask' is impossible to load, is it installed ? ('No module named 'pylint_flask'') (bad-plugin-value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Don't load from tool.pylint, we only support pylint. | ||
[tool.pylint.MASTER] | ||
init-hook='print("I should NOT print in setup.cfg we only parse 'pylint.'")' | ||
|
||
# We do load from pylint. | ||
[pylint.MASTER] | ||
load-plugins=pylint_flask | ||
|
||
# We don't load options from random sections | ||
[FORMAT] | ||
max-line-length=220 | ||
max-module-lines=2001 |
3 changes: 3 additions & 0 deletions
3
tests/config/functional/setup_cfg/issue_3630/setup.result.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"load_plugins": ["pylint_flask"] | ||
} |