]> 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:

permits black to run in AWS Lambda: (#1141)
authorAllan Simon <allan.simon@supinfo.com>
Fri, 8 May 2020 13:46:07 +0000 (15:46 +0200)
committerGitHub <noreply@github.com>
Fri, 8 May 2020 13:46:07 +0000 (15:46 +0200)
commitc0a7582e3d4cc8bec3b7f5a6c52b36880dcb57d7
treeeb66b0ed4cea2fa29f17db03190afe2425ae8a62
parent26c9465a22c732ab1e17b0dec578fa3432e9b558
permits black to run in AWS Lambda: (#1141)

AWS Lambda and some other virtualized environment may not permit access
to /dev/shm on Linux and as such, trying to use ProcessPoolExecutor will
fail.

As using parallelism is only a 'nice to have' feature of black, if it fails
we gracefully fallback to a monoprocess implementation, which permits black
to finish normally.

Co-authored-by: Allan Simon <asimon@yolaw.fr>
black.py
tests/test_black.py