Skip to content

Conversation

@mverde
Copy link
Collaborator

@mverde mverde commented Jan 14, 2026

When using butler.py's format and lint commands it seems the default style config currently used for yapf calls is 'chromium', which has been renamed to 'yapf': https://github.com/google/yapf/blob/12005095296072751e3e4c1f33a047d41b0ce18d/CHANGELOG.md?plain=1#L168. This was giving me errors related to the 'chromium' style not being found.

attempting to use the obsolete 'chromium' style as the default.
@mverde mverde requested review from jonathanmetzman and letitz and removed request for jonathanmetzman and letitz January 14, 2026 20:31
@jonathanmetzman
Copy link
Collaborator

jonathanmetzman commented Jan 14, 2026

The CI failure makes me think you ran the formatting command while not in our virtualenv/using a different version of yapf. After installing our dependencies and doing python3 -m pipenv shell do you still get the error?
I think the change is from 3 years ago which is probably more recent than the last time we have upgraded yapf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants