]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add optional uvloop import (#2258)
authorCooper Lees <me@cooperlees.com>
Wed, 26 May 2021 12:52:09 +0000 (05:52 -0700)
committerGitHub <noreply@github.com>
Wed, 26 May 2021 12:52:09 +0000 (05:52 -0700)
commit754eecf69eed0bdc75fe224c19a702a4f0676807
treef4217ca48dbe3699cb43e7b8b14a94386bf541ed
parent92f20d7f8493f9d0f27531f68b776fb435d53d2e
Add optional uvloop import (#2258)

* Add optional uvloop import

- If we find `uvloop` in the env for black, blackd or black-primer lets try and use it
- Add a uvloop extra install

Fixes #2257

Test:
- Add ci job to install black[uvloop] and run a primer run with uvloop
  - Only with latest python (3.9)
  - Will be handy to compare runtimes as a very unoffical benchmark

* Remove tox install

* Add to CHANGES/news
.github/workflows/uvloop_test.yml [new file with mode: 0644]
CHANGES.md
setup.py
src/black/__init__.py
src/black_primer/cli.py
src/blackd/__init__.py