There is a difference between Black version 18.9b0 emended into the docker container Debian Buster from the Debian package.
Using black from PyPi within Poetry environment shouldn’t rise such issues. In this case we would get 19.3b0 version.
This shortcut was set-up to speed-up the format job from 2min15 to 45s, to avoid installing runtime and dev dependencies.
Docker:3.8: Install black with pip. Remove ist installation from Debian packages
Update sources file with new v19.10b0 black format
In the end installing the whole dependencies takes way too much time. The whole pipeline takes 6min instead of 3min before.
Let’s install black inside the v3.8 container with pip.
Found during this research
Should be part of an other topic:
Fix black installation: Moved to the original ticket: #263 (closed).