high-yak-85899
03/29/2022, 11:00 PMupdate-build-files
formatting? I'm using yapf, but I'm not really crazy about what the defaults do. Here's a good example
python_sources(
overrides={"cloud_storage.py": {
"dependencies": ["//:reqs#boto3"]
}})
hundreds-father-404
03/29/2022, 11:00 PMhigh-yak-85899
03/29/2022, 11:01 PMhigh-yak-85899
03/29/2022, 11:14 PM[yapf]
version = "yapf==0.20.0"
hundreds-father-404
03/29/2022, 11:14 PMhigh-yak-85899
03/29/2022, 11:14 PM[yapf]
version = "0.20.0"
and that led to a confusing error saying it couldn't resolve a known versionhigh-yak-85899
03/29/2022, 11:15 PMupdate-build-files
runs differently than when I run yapf
on a BUILD
file manuallyhundreds-father-404
03/29/2022, 11:15 PMhundreds-father-404
03/29/2022, 11:15 PMyapf==0.20.0
? I'm not sure if that's too magical? Seems reasonable to me!hundreds-father-404
03/29/2022, 11:16 PM-ldebug
to see the argv Pants is usinghigh-yak-85899
03/29/2022, 11:18 PM0.32.0
behaves differently.hundreds-father-404
03/29/2022, 11:23 PMhigh-yak-85899
03/29/2022, 11:24 PMversion
from the docs