Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Android/trusty/trusty/device/common/   (Android Betriebssystem Version 17©)  Datei vom 26.5.2026 mit Größe 964 B image not shown  

Quelle  PREUPLOAD.cfg   Sprache: unbekannt

 
Spracherkennung für: .cfg vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

[Hook Scripts]
# Run mypy on all python scripts that exist in the tree. This will only generate
# errors and warnings related to the CLs being uploaded as long as all other
# scripts are already linter clean. However, mypy warnings will be repeated when
# uploading multiple CLs. This is a known limitation which also affects pylint.
https://android.googlesource.com/platform/tools/repohooks/#todo_limitations.
#
# We cannot use `find ... -execdir mypy {} +` directly since find does not
# propagate status codes from the -execXXX family of arguments so we use xargs
# instead. We also cannot use pipes directly in a hook script so we wrap
# everything inside a shell command (`sh -c`).
mypy = sh -c "find . -name '*.py' | xargs -I{} mypy {}"

[Builtin Hooks]
clang_format = true
commit_msg_bug_field = true
commit_msg_changeid_field = true
pylint3 = true

[Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp

[Dauer der Verarbeitung: 0.1 Sekunden, vorverarbeitet 2026-06-27]