# -*- coding: utf-8 -*- # Copyright (c) 2006-2014 LOGILAB S.A. (Paris, FRANCE) # Copyright (c) 2009 Vincent # Copyright (c) 2009 Mads Kiilerich # Copyright (c) 2012-2014 Google, Inc. # Copyright (c) 2014-2018, 2020 Claudiu Popa # Copyright (c) 2014-2015 Michal Nowikowski # Copyright (c) 2014 LCD 47 # Copyright (c) 2014 Brett Cannon # Copyright (c) 2014 Arun Persaud # Copyright (c) 2014 Damien Nozay # Copyright (c) 2015 Aru Sahni # Copyright (c) 2015 Florian Bruhin # Copyright (c) 2015 Simu Toni # Copyright (c) 2015 Ionel Cristian Maries # Copyright (c) 2016 Łukasz Rogalski # Copyright (c) 2016 Moises Lopez # Copyright (c) 2016 Glenn Matthews # Copyright (c) 2016 Glenn Matthews # Copyright (c) 2016 Ashley Whetter # Copyright (c) 2016 xmo-odoo # Copyright (c) 2017, 2020 Anthony Sottile # Copyright (c) 2017 Pierre Sassoulas # Copyright (c) 2017-2018 Bryce Guinta # Copyright (c) 2017-2018 hippo91 # Copyright (c) 2017 Chris Lamb # Copyright (c) 2017 Thomas Hisch # Copyright (c) 2017 Mikhail Fesenko # Copyright (c) 2017 Craig Citro # Copyright (c) 2017 Ville Skyttä # Copyright (c) 2018-2019 Pierre Sassoulas # Copyright (c) 2018 Pierre Sassoulas # Copyright (c) 2018 ssolanki # Copyright (c) 2018 Bryce Guinta # Copyright (c) 2018 Sushobhit <31987769+sushobhit27@users.noreply.github.com> # Copyright (c) 2018 Reverb C # Copyright (c) 2018 Nick Drozd # Copyright (c) 2020 Damien Baty # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/master/COPYING """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.file_state import FileState from pylint.utils.utils import ( HAS_ISORT_5, IsortDriver, _basename_in_blacklist_re, _check_csv, _format_option_value, _splitstrip, _unquote, decoding_stream, deprecated_option, expand_modules, format_section, get_global_option, get_module_and_frameid, get_rst_section, get_rst_title, normalize_text, register_plugins, safe_decode, tokenize_module, )