MCPcopy Create free account
hub / github.com/DevCloudNinjas/DevOps-Projects / run

Method run

tools/quality_gate.py:205–211  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203 return relative_path
204
205 def run(self) -> list[Finding]:
206 findings: list[Finding] = []
207 findings.extend(self.check_tracked_ignored_files())
208 findings.extend(self.check_secret_patterns())
209 findings.extend(self.check_syntax())
210 findings.extend(self.check_node_package_locks())
211 return findings
212
213 def git_files(self, *patterns: str) -> list[Path]:
214 cmd = ["git", "ls-files", *patterns]

Callers 15

git_filesMethod · 0.45
check_shell_syntaxMethod · 0.45
mainFunction · 0.45
changed_filesFunction · 0.45
validate_projectFunction · 0.45
_runFunction · 0.45
_runFunction · 0.45
webhooks.pyFile · 0.45
warden-mutating.pyFile · 0.45

Calls 4

check_secret_patternsMethod · 0.95
check_syntaxMethod · 0.95

Tested by 3

_runFunction · 0.36
_runFunction · 0.36