X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/99c97c3d7fa8532faf11f818bf1fcf08e991e62c..32eed7d1882987278d8365191ab7d7effe7977be:/black.py?ds=sidebyside 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()