-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
CACHE_DIR created too late when using black as a library #1223
Labels
T: bug
Something isn't working
Comments
This was referenced Jan 8, 2020
PR: #1224 |
This was referenced Jul 4, 2020
Leaving only #1143 opne seems to be a more reasonable option since it's not 100% clear this is the right solution. |
This is happening to me with black version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug Black fails to generate grammar files when using it as a library as it has no cache directory.
To Reproduce
Run
docker build . --no-cache
with the following Dockerfile:Output:
Expected behavior
I expect using
black
as a library to not fail to generate grammar tables. This affects programs that use black only a a library likejupyterlab-code-formatter
.Does this bug also happen on master?
Yes
Additional context Add any other context about the problem here.
This is the root cause of #1143
The text was updated successfully, but these errors were encountered: