X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/99c97c3d7fa8532faf11f818bf1fcf08e991e62c..158f796ef3ac0b41d39d8674aa08199d338b30d9:/black.py diff --git a/black.py b/black.py index d060820..4d85865 100644 --- a/black.py +++ b/black.py @@ -3662,6 +3662,10 @@ def patch_click() -> None: module._verify_python3_env = lambda: None -if __name__ == "__main__": +def patched_main() -> None: patch_click() main() + + +if __name__ == "__main__": + patched_main()