Skip to content

Instantly share code, notes, and snippets.

#find serverless dir
from pathlib import Path
serverless_dir = Path("./serverless")
if not serverless_dir.exists():
raise
#find all of the folders in the root of serverless
#except those that don't have customer-facing code
skipped_dirs = ["node_modules", ".git", "docs", ".github", "test"]