Esempio n. 1
0
def rule_runner() -> RuleRunner:
    return RuleRunner(
        rules=[
            *subsystem_rules(),
            *skip_field.rules(),
            *python_sources.rules(),
            QueryRule(PylintFirstPartyPlugins, []),
            QueryRule(PythonLockfileRequest, [PylintLockfileSentinel]),
        ],
        target_types=[PythonLibrary, GenericTarget, PythonRequirementLibrary],
    )
Esempio n. 2
0
def rules():
    return (*pylint_rules.rules(), *skip_field.rules(), *subsystem.rules())