X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a18c7bc09942951e93cbd142fb7384aa2af18951..be16cfa0353f33adf0ee5f026d9b46f9ca6ac7ac:/src/black_primer/cli.py diff --git a/src/black_primer/cli.py b/src/black_primer/cli.py index 00b54d6..f099704 100644 --- a/src/black_primer/cli.py +++ b/src/black_primer/cli.py @@ -13,6 +13,14 @@ import click from black_primer import lib +# If our environment has uvloop installed lets use it +try: + import uvloop + + uvloop.install() +except ImportError: + pass + DEFAULT_CONFIG = Path(__file__).parent / "primer.json" _timestamp = datetime.now().strftime("%Y%m%d%H%M%S")