def rule_runner() -> RuleRunner: return RuleRunner( rules=[ *flake8_rules(), QueryRule(LintResults, (Flake8Request,)), ] )
def rules(cls): return ( *super().rules(), *flake8_rules(), *download_pex_bin.rules(), *pex.rules(), *python_native_code.rules(), *subprocess_environment.rules(), RootRule(Flake8Target), )
def rule_runner() -> RuleRunner: return RuleRunner( rules=[ *flake8_rules(), *source_files.rules(), *config_files.rules(), QueryRule(LintResults, [Flake8Request]), ], target_types=[PythonLibrary], )
def rule_runner() -> RuleRunner: return RuleRunner( rules=[ *flake8_rules(), *flake8_subsystem_rules(), *source_files.rules(), *config_files.rules(), *target_types_rules.rules(), QueryRule(LintResults, [Flake8Request]), ], target_types=[PythonSourcesGeneratorTarget], )
def rules(cls): return ( *super().rules(), *flake8_rules(), *download_pex_bin.rules(), *pex.rules(), *python_native_code.rules(), *subprocess_environment.rules(), RootRule(CreatePex), RootRule(Flake8), RootRule(Flake8Target), RootRule(PythonSetup), RootRule(PythonNativeCode), RootRule(SubprocessEnvironment), )
def rules(cls): return (*super().rules(), *flake8_rules(), RootRule(Flake8FieldSets))
def rules(cls): return (*super().rules(), *flake8_rules(), RootRule(Flake8Request))
def rules(cls): return (*super().rules(), *flake8_rules(), RootRule(Flake8Configurations))
def rules(cls): return ( *super().rules(), *flake8_rules(), QueryRule(LintResults, (Flake8Request, OptionsBootstrapper)), )
def rules(cls): return (*super().rules(), *flake8_rules(), RootRule(Flake8Linter))
def rules(cls): return (*super().rules(), *flake8_rules(), RootRule(Flake8Target))