style: run yapf on a subset of mercurial
Needs ReviewPublic

Authored by durin42 on Wed, Jan 9, 3:28 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

I've tried to pick knobs that more or less conform to our current
style. I ran the formatter on the same set of files as the black
proposal (see D5064), but it resulted in many fewer edits.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped
durin42 created this revision.Wed, Jan 9, 3:28 PM

I see a few minor issues here, but it's at least plausible?

mercurial/minifileset.py
57–58
mercurial/scmwindows.py
53

We could force this to one-per-line by adding a trailing comma.