diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index f118681ab1..1b7d497337 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -9,7 +9,6 @@ Python 3.x environments only """ # noqa: INP001 - import json import os import random @@ -513,6 +512,5 @@ def main(): # noqa: C901, PLR0912, PLR0915 remove_async_files() - if __name__ == "__main__": main() diff --git a/hooks/pre_gen_project.py b/hooks/pre_gen_project.py index 578b5f0a65..ea7a42299c 100644 --- a/hooks/pre_gen_project.py +++ b/hooks/pre_gen_project.py @@ -8,7 +8,6 @@ to Python 3.x environments only """ # noqa: INP001 - import sys TERMINATOR = "\x1b[0m"