|
|
|
|
|
by bombolo
1274 days ago
|
|
> Why would it cause extra effort? As I said… because a 1 word change easily ends up changing multiple lines and from the diff it's not clear it's just a 1 word change. So… extra effort. > Right but you have a pre-push hook to format the code using the same version of Black as is used in CI. Then CI won't ever fail. No I don't. My release branch and old-release branch use different versions. Such a thing would need to understand which base branch I'm working on, or recreate the venv continuously. > Cherry pick, then run Black. Sounds like you have a very awkward workflow to be honest. Seems to me you don't support older versions, in which case everything is easy. |
|