diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-03-21 00:28:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-20 23:28:40 +0000 |
commit | 026a564c500b1cc688a252d1b454c8dc018d3fd6 (patch) | |
tree | 7d8ef6441bbf98c553d2959b574fba118d3379c6 /pylint/utils | |
parent | b96547b1dd6d897eaada7ef2f8041989c7af4830 (diff) | |
download | pylint-git-026a564c500b1cc688a252d1b454c8dc018d3fd6.tar.gz |
[deprecation] Make '_format-option-value' private and update TODOs (#8469)
Diffstat (limited to 'pylint/utils')
-rw-r--r-- | pylint/utils/__init__.py | 2 | ||||
-rw-r--r-- | pylint/utils/utils.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/pylint/utils/__init__.py b/pylint/utils/__init__.py index ccf4079c4..a42d0a95e 100644 --- a/pylint/utils/__init__.py +++ b/pylint/utils/__init__.py @@ -14,7 +14,6 @@ from pylint.utils.utils import ( HAS_ISORT_5, IsortDriver, _check_csv, - _format_option_value, _splitstrip, _unquote, decoding_stream, @@ -33,7 +32,6 @@ __all__ = [ "HAS_ISORT_5", "IsortDriver", "_check_csv", - "_format_option_value", "_splitstrip", "_unquote", "decoding_stream", diff --git a/pylint/utils/utils.py b/pylint/utils/utils.py index 2bdc529cc..33226aa87 100644 --- a/pylint/utils/utils.py +++ b/pylint/utils/utils.py @@ -258,7 +258,7 @@ def _comment(string: str) -> str: def _format_option_value(optdict: OptionDict, value: Any) -> str: """Return the user input's value from a 'compiled' value. - TODO: 3.0: Remove deprecated function + TODO: Refactor the code to not use this deprecated function """ if optdict.get("type", None) == "py_version": value = ".".join(str(item) for item in value) |