airbyte[patch]: init pkg (#18236)

This commit is contained in:
Erick Friis
2024-02-27 19:37:53 -08:00
committed by GitHub
parent ac1d7d9de8
commit be8d2ff5f7
25 changed files with 3829 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
import sys
import traceback
from importlib.machinery import SourceFileLoader
if __name__ == "__main__":
files = sys.argv[1:]
has_failure = False
for file in files:
try:
SourceFileLoader("x", file).load_module()
except Exception:
has_faillure = True
print(file) # noqa: T201
traceback.print_exc()
print() # noqa: T201
sys.exit(1 if has_failure else 0)