diff options
author | Tanvi Moharir <74228962+tanvimoharir@users.noreply.github.com> | 2021-11-13 17:36:01 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-13 13:06:01 +0100 |
commit | 1a20bc5c50a7c73abaad8b364f78055d4e60146d (patch) | |
tree | cb00f346a16230cfcb960c4e3a900513e3d09210 /tests/config/functional/toml/issue_4580/top_level_disable.out | |
parent | 8e15c1dd9d0dc07cb9794353a32cd37d57f2d569 (diff) | |
download | pylint-git-1a20bc5c50a7c73abaad8b364f78055d4e60146d.tar.gz |
Pylint fix for invalid TOML config (#4720)
* Fix crashes during toml configuration parsing
Add test for current 'pyproject.toml' issues. Add a 'bad-configuration-section'
message for bad toml configuration
We can detect bad top level option when reading the toml but we do not catch
all the problem in toml because we don't know what is expected so we can't
recommend. See #5259
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'tests/config/functional/toml/issue_4580/top_level_disable.out')
-rw-r--r-- | tests/config/functional/toml/issue_4580/top_level_disable.out | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/config/functional/toml/issue_4580/top_level_disable.out b/tests/config/functional/toml/issue_4580/top_level_disable.out new file mode 100644 index 000000000..a63759758 --- /dev/null +++ b/tests/config/functional/toml/issue_4580/top_level_disable.out @@ -0,0 +1,2 @@ +************* Module {abspath} +{relpath}:1:0: E0014: Out-of-place setting encountered in top level configuration-section 'disable' : 'logging-not-lazy,logging-format-interpolation' (bad-configuration-section) |