Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permits black to run in AWS Lambda: #1141

Merged
merged 1 commit into from May 8, 2020

Commits on Nov 5, 2019

  1. permits black to run in AWS Lambda:

    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.
    allanlegalstart committed Nov 5, 2019
    Copy the full SHA
    5559f49 View commit details
    Browse the repository at this point in the history