From e4914bf44d998ab92ae7cc9395540cd7704d6e30 Mon Sep 17 00:00:00 2001 From: Flavio Curella Date: Thu, 19 Sep 2024 09:44:42 -0500 Subject: [PATCH] make it clear that stubs are auto-generated --- generate_stubs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/generate_stubs.py b/generate_stubs.py index 1f8bc67a0c..4823b79a8d 100644 --- a/generate_stubs.py +++ b/generate_stubs.py @@ -186,7 +186,9 @@ def get_import_str(module: str, members: Optional[Set[str]]) -> str: [sig.replace("\n", "\n ") for sig in signatures_with_comments_as_str] ) -body = f""" +body = f"""# This file is auto-generated by generate_stubs.py. +# Please do not edit this file directly. + {imports_block} class Faker: