flaky-match-48400
05/09/2024, 7:40 AMblack
as the python formatter, it's hard to know which version of black pants fmt
uses. IIUC the requirement is here: https://github.com/pantsbuild/pants/blob/2505e54f2d8dde4f509caa7749de5ab8ae1de450/src/python/pants/backend/python/lint/black/subsystem.py#L43 , but it spans 2 major versions, 22 and 23.
for tooling outside of pants (e.g. IDEs), it's important to fix the black (major) version to the same version as pants' to avoid incompatibilities.
could pants be more specific about the black version it uses?broad-processor-92400
05/09/2024, 9:01 AM