Hello! In our monorepo we have the following probl...
# general
a
Hello! In our monorepo we have the following problem when using isort:
pants fmt file.py
runs a different isort than
pants fmt ::
. The latter adds additional line breaks, while the first one removes them. To me both commands should do the same or am I wrong? We also have set up black but this problem is isort specific. isort config from pants.toml:
[isort]
version = "isort==5.11.4"
lockfile = "3rdparty/python/isort.lock"
interpreter_constraints = ["CPython==3.11.2"]
c
👀 1
a
Yes, definitely that issue. Thanks, Andreas. Should have looked at Github first.
c
np. always good to get a feel for how wide-spread an issue is.