No problem with Black per se - it's my default linter - but latest inclusion with IPython 8.0 seems to break in a Docker environment:
Generating grammar tables from /usr/local/lib/python3.10/site-packages/blib2to3/Grammar.txt
Writing grammar tables to /root/.cache/black/21.12b0/Grammar3.10.1.final.0.pickle
Writing failed: [Errno 2] No such file or directory: '/root/.cache/black/21.12b0/tmpx51kjom5'
Generating grammar tables from /usr/local/lib/python3.10/site-packages/blib2to3/PatternGrammar.txt
Writing grammar tables to /root/.cache/black/21.12b0/PatternGrammar3.10.1.final.0.pickle
Writing failed: [Errno 2] No such file or directory: '/root/.cache/black/21.12b0/tmp80hsbuff
https://github.com/psf/black/issues/1143
Not entirely clear what the reasons are for adding the Black dependency to IPython....