Spaces:
Sleeping
Sleeping
| """Repository-wide Python startup defaults for CI helpers. | |
| Python imports ``sitecustomize`` automatically when this repository is on | |
| ``sys.path``. GitHub Actions and hackathon validation sometimes run inline | |
| ``python -c`` snippets from the repository root before project helper scripts | |
| can execute. Provide a harmless default for optional deployment secrets so | |
| ``os.environ["HF_BUILD_SMALL_HACKATHON_TOKEN"]`` does not raise ``KeyError`` | |
| when the secret has not been configured. | |
| """ | |
| from __future__ import annotations | |
| import os | |
| os.environ.setdefault("HF_BUILD_SMALL_HACKATHON_TOKEN", "") | |