How to use the pylint.checkers.BaseChecker.__init__ function in pylint

To help you get started, we’ve selected a few pylint examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pylava / pylava_pylint / pylama_pylint / pylint / checkers / variables.py View on Github external
def __init__(self, linter=None):
        BaseChecker.__init__(self, linter)
        self._to_consume = None
        self._checking_mod_attr = None
github pylava / pylava_pylint / pylama_pylint / pylint / checkers / similar.py View on Github external
def __init__(self, linter=None):
        BaseChecker.__init__(self, linter)
        Similar.__init__(self, min_lines=4,
                         ignore_comments=True, ignore_docstrings=True)
        self.stats = None
github PyCQA / pylint / pylint / checkers / similar.py View on Github external
def __init__(self, linter=None):
        BaseChecker.__init__(self, linter)
        Similar.__init__(
            self, min_lines=4, ignore_comments=True, ignore_docstrings=True
        )
        self.stats = None
github PyCQA / pylint / checkers / rpython.py View on Github external
def __init__(self, linter=None):
        BaseChecker.__init__(self, linter)
        self._rpython = True
github lad1337 / XDM / rootLibs / pylint / checkers / similar.py View on Github external
def __init__(self, linter=None):
        BaseChecker.__init__(self, linter)
        Similar.__init__(self, min_lines=4,
                         ignore_comments=True, ignore_docstrings=True)
        self.stats = None
github svn2github / chromium-depot-tools / third_party / pylint / checkers / classes.py View on Github external
def __init__(self, linter=None):
        BaseChecker.__init__(self, linter)
        self._accessed = []
        self._first_attrs = []
        self._meth_could_be_func = None
github pylava / pylava_pylint / pylama_pylint / pylint / checkers / classes.py View on Github external
def __init__(self, linter=None):
        BaseChecker.__init__(self, linter)
        self._accessed = []
        self._first_attrs = []
        self._meth_could_be_func = None
github raymondbutcher / perfectpython / pylib / pylint / checkers / imports.py View on Github external
def __init__(self, linter=None):
        BaseChecker.__init__(self, linter)
        self.stats = None
        self.import_graph = None
        self.__int_dep_info = self.__ext_dep_info = None
        self.reports = (('RP0401', 'External dependencies',
                         self.report_external_dependencies),
                        ('RP0402', 'Modules dependencies graph',
                         self.report_dependencies_graph),
                        )
github raymondbutcher / perfectpython / pylib / pylint / checkers / variables.py View on Github external
def __init__(self, linter=None):
        BaseChecker.__init__(self, linter)
        self._to_consume = None
        self._checking_mod_attr = None