third_party.pylibs.pylint.src/pylint/utils/__init__.py
Pierre Sassoulas ec4a3f7f1e Add a pre-commit hook to check the copyright notice
Fix the existing file so they have a notice.
No header for setup.py or examples or doc
2022-03-24 13:06:15 +01:00

56 lines
1.3 KiB
Python

# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
"""Some various utilities and helper classes, most of them used in the
main pylint class
"""
from pylint.utils.ast_walker import ASTWalker
from pylint.utils.docs import print_full_documentation
from pylint.utils.file_state import FileState
from pylint.utils.linterstats import LinterStats, ModuleStats, merge_stats
from pylint.utils.utils import (
HAS_ISORT_5,
IsortDriver,
_check_csv,
_format_option_value,
_splitstrip,
_unquote,
decoding_stream,
diff_string,
format_section,
get_global_option,
get_module_and_frameid,
get_rst_section,
get_rst_title,
normalize_text,
register_plugins,
tokenize_module,
)
__all__ = [
"ASTWalker",
"HAS_ISORT_5",
"IsortDriver",
"_check_csv",
"_format_option_value",
"_splitstrip",
"_unquote",
"decoding_stream",
"diff_string",
"FileState",
"format_section",
"get_global_option",
"get_module_and_frameid",
"get_rst_section",
"get_rst_title",
"normalize_text",
"register_plugins",
"tokenize_module",
"merge_stats",
"LinterStats",
"ModuleStats",
"print_full_documentation",
]