diff options
| author | Jeroen Seegers <jeroenseegers@users.noreply.github.com> | 2021-09-23 19:47:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-23 19:47:04 +0200 |
| commit | 9dc186f3aa68560c205e06b4759fb80b12a72c36 (patch) | |
| tree | f13a1a8a44a79cad4568d77a99e9a3b8e2831fd8 | |
| parent | 09a0b50bfeb473625f8ad586f72fd35d790de6ac (diff) | |
| download | pylint-git-9dc186f3aa68560c205e06b4759fb80b12a72c36.tar.gz | |
Update toml dependency to >=0.9.2 (#5067)
* Update toml dependency from >=0.7.1 to >=0.9.2
| -rw-r--r-- | CONTRIBUTORS.txt | 3 | ||||
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | pylint/config/find_default_config_files.py | 2 | ||||
| -rw-r--r-- | setup.cfg | 2 |
4 files changed, 9 insertions, 2 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 1efde3cb7..34da2a803 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -543,3 +543,6 @@ contributors: * Hayden Richards (SupImDos): contributor - Fixed "no-self-use" for async methods - Fixed "docparams" extension for async functions and methods + +* Jeroen Seegers (jeroenseegers): contributor + - Fixed `toml` dependency issue @@ -43,6 +43,10 @@ Release date: TBA Closes #2366 +* Fixed ``toml`` dependency issue + + Closes #5066 + What's New in Pylint 2.11.1? ============================ diff --git a/pylint/config/find_default_config_files.py b/pylint/config/find_default_config_files.py index 2a8937e52..843aa8648 100644 --- a/pylint/config/find_default_config_files.py +++ b/pylint/config/find_default_config_files.py @@ -5,7 +5,7 @@ import configparser import os import toml -from toml.decoder import TomlDecodeError +from toml import TomlDecodeError def _toml_has_config(path): @@ -47,7 +47,7 @@ install_requires = astroid>=2.8.0,<2.9 # (You should also upgrade requirements_test_min.txt) isort>=4.2.5,<6 mccabe>=0.6,<0.7 - toml>=0.7.1 + toml>=0.9.2 colorama;sys_platform=="win32" typing-extensions>=3.10.0;python_version<"3.10" python_requires = ~=3.6 |
