mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Bulk generator: Autoformat.
This commit is contained in:
@@ -45,15 +45,19 @@ class Project(TypedDict):
|
||||
with_sinks: NotRequired[bool]
|
||||
with_summaries: NotRequired[bool]
|
||||
|
||||
|
||||
def shouldGenerateSinks(project: Project) -> bool:
|
||||
return project.get("with_sinks", False)
|
||||
|
||||
|
||||
def shouldGenerateSources(project: Project) -> bool:
|
||||
return project.get("with_sources", False)
|
||||
|
||||
|
||||
def shouldGenerateSummaries(project: Project) -> bool:
|
||||
return project.get("with_summaries", False)
|
||||
|
||||
|
||||
def clone_project(project: Project) -> str:
|
||||
"""
|
||||
Shallow clone a project into the build directory.
|
||||
|
||||
Reference in New Issue
Block a user