mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 00:24:37 +00:00
ec4a3f7f1e
Fix the existing file so they have a notice. No header for setup.py or examples or doc
56 lines
1.3 KiB
Python
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",
|
|
]
|