mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-10 01:17:42 +01:00
45 lines
1.1 KiB
Python
45 lines
1.1 KiB
Python
|
# Copyright (c) 2008, 2012 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
|
||
|
# Copyright (c) 2014, 2016-2020 Claudiu Popa <pcmanticore@gmail.com>
|
||
|
# Copyright (c) 2014 Arun Persaud <arun@nubati.net>
|
||
|
# Copyright (c) 2015 Ionel Cristian Maries <contact@ionelmc.ro>
|
||
|
# Copyright (c) 2018 Nick Drozd <nicholasdrozd@gmail.com>
|
||
|
# Copyright (c) 2020 Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
||
|
|
||
|
# 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
|
||
|
|
||
|
import sys
|
||
|
|
||
|
from pylint.__pkginfo__ import version as __version__
|
||
|
|
||
|
# pylint: disable=import-outside-toplevel
|
||
|
|
||
|
|
||
|
def run_pylint():
|
||
|
from pylint.lint import Run as PylintRun
|
||
|
|
||
|
try:
|
||
|
PylintRun(sys.argv[1:])
|
||
|
except KeyboardInterrupt:
|
||
|
sys.exit(1)
|
||
|
|
||
|
|
||
|
def run_epylint():
|
||
|
from pylint.epylint import Run as EpylintRun
|
||
|
|
||
|
EpylintRun()
|
||
|
|
||
|
|
||
|
def run_pyreverse():
|
||
|
"""run pyreverse"""
|
||
|
from pylint.pyreverse.main import Run as PyreverseRun
|
||
|
|
||
|
PyreverseRun(sys.argv[1:])
|
||
|
|
||
|
|
||
|
def run_symilar():
|
||
|
"""run symilar"""
|
||
|
from pylint.checkers.similar import Run as SimilarRun
|
||
|
|
||
|
SimilarRun(sys.argv[1:])
|