Source code for wemake_python_styleguide.violations.system
"""These checks ensures that our internal checks passes.For example, we can report violations from this groupwhen some exception occur during the linting processor some dependencies are missing... currentmodule:: wemake_python_styleguide.violations.systemSummary-------.. autosummary:: :nosignatures: InternalErrorViolationRespect your objects--------------------.. autoclass:: InternalErrorViolation"""fromtypingimportfinalfromwemake_python_styleguide.violations.baseimportSimpleViolation
[docs]@finalclassInternalErrorViolation(SimpleViolation):""" Happens when we get unhandled exception during the linting process. All this violations should be reported to the main issue tracker. We ideally should not produce these violations at all. See also: https://github.com/wemake-services/wemake-python-styleguide/issues .. versionadded:: 0.13.0 """error_template=('Internal error happened, see log. Please, take some time to report it')code=0