X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a18c7bc09942951e93cbd142fb7384aa2af18951..fdc4b67433906c2b8beeb349366a69befc37aafe:/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")