# -*- coding: utf-8 -*- # Copyright (c) 2006-2015 LOGILAB S.A. (Paris, FRANCE) # Copyright (c) 2008 Fabrice Douchant # Copyright (c) 2009 Vincent # Copyright (c) 2009 Mads Kiilerich # Copyright (c) 2011-2014 Google, Inc. # Copyright (c) 2012 David Pursehouse # Copyright (c) 2012 Kevin Jing Qiu # Copyright (c) 2012 FELD Boris # Copyright (c) 2012 JT Olds # Copyright (c) 2014-2020 Claudiu Popa # Copyright (c) 2014-2015 Michal Nowikowski # Copyright (c) 2014 Brett Cannon # Copyright (c) 2014 Alexandru Coman # Copyright (c) 2014 Daniel Harding # Copyright (c) 2014 Arun Persaud # Copyright (c) 2014 Dan Goldsmith # Copyright (c) 2015-2016 Florian Bruhin # Copyright (c) 2015 Aru Sahni # Copyright (c) 2015 Steven Myint # Copyright (c) 2015 Simu Toni # Copyright (c) 2015 Mihai Balint # Copyright (c) 2015 Ionel Cristian Maries # Copyright (c) 2016-2017 Łukasz Rogalski # Copyright (c) 2016 Glenn Matthews # Copyright (c) 2016 Alan Evangelista # Copyright (c) 2017-2019 hippo91 # Copyright (c) 2017-2018 Ville Skyttä # Copyright (c) 2017 Daniel Miller # Copyright (c) 2017 Roman Ivanov # Copyright (c) 2017 Ned Batchelder # Copyright (c) 2018-2020 Pierre Sassoulas # Copyright (c) 2018, 2020 Anthony Sottile # Copyright (c) 2018-2019 Nick Drozd # Copyright (c) 2018 Matus Valo # Copyright (c) 2018 Lucas Cimon # Copyright (c) 2018 ssolanki # Copyright (c) 2018 Randall Leeds # Copyright (c) 2018 Mike Frysinger # Copyright (c) 2018 Sushobhit <31987769+sushobhit27@users.noreply.github.com> # Copyright (c) 2018 Jason Owen # Copyright (c) 2018 Gary Tyler McLeod # Copyright (c) 2018 Yuval Langer # Copyright (c) 2018 kapsh # Copyright (c) 2019 syutbai # Copyright (c) 2019 Thomas Hisch # Copyright (c) 2019 Hugues # Copyright (c) 2019 Janne Rönkkö # Copyright (c) 2019 Ashley Whetter # Copyright (c) 2019 Trevor Bekolay # Copyright (c) 2019 Hugo van Kemenade # Copyright (c) 2019 Robert Schweizer # Copyright (c) 2019 Andres Perez Hortal # Copyright (c) 2019 Peter Kolbus # Copyright (c) 2019 Nicolas Dickreuter # Copyright (c) 2020 anubh-v # 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 """ pylint [options] modules_or_packages Check that module(s) satisfy a coding standard (and more !). pylint --help Display this help message and exit. pylint --help-msg [,] Display help messages about given message identifiers and exit. """ import sys from pylint.lint.check_parallel import check_parallel from pylint.lint.pylinter import PyLinter from pylint.lint.report_functions import ( report_messages_by_module_stats, report_messages_stats, report_total_messages_stats, ) from pylint.lint.run import Run from pylint.lint.utils import ( ArgumentPreprocessingError, _patch_sys_path, fix_import_path, preprocess_options, ) if __name__ == "__main__": Run(sys.argv[1:])