Esempio n. 1
0
 def rules(cls):
     return (
         *super().rules(),
         *python_sources_rules(),
         *protobuf_rules(),
         RootRule(PythonSourceFilesRequest),
     )
Esempio n. 2
0
 def rules(cls):
     return (
         *super().rules(),
         *python_sources_rules(),
         QueryRule(PythonSourceFiles,
                   (PythonSourceFilesRequest, OptionsBootstrapper)),
         QueryRule(StrippedPythonSourceFiles,
                   (PythonSourceFilesRequest, OptionsBootstrapper)),
     )
Esempio n. 3
0
def rules():
    return [
        *collect_rules(),
        UnionRule(TypecheckRequest, MyPyRequest),
        *source_files.rules(),
        *pants_bin.rules(),
        *pex_rules(),
        *python_sources_rules(),
        *stripped_source_files.rules(),
    ]
Esempio n. 4
0
def rules():
    return [
        *python_sources_rules(),
        *collect_rules(),
    ]