On Mon, Aug 31, 2020, at 10:06 AM, Craig Rodrigues wrote:
In this PR:
https://github.com/twisted/twisted/pull/1365

pycodestyle was disabled in trunk in order to make it easier to merge changes
and not have pycodestyle error out, due to the code not meeting existing Twisted style guidelines.
So this means that the old pycodestyle is not enforced in trunk.

In this PR:
https://github.com/twisted/twisted/pull/1356

a `.git-blame-ignore-revs` file was added to the tree.  I guess in future,
if the entire tree is reformatted, then we can add that git SHA for the PR which reformats
the tree, so that that revision will be ignored during a `git blame`.

There is this pending (over 1 year) PR to add black to CI:

https://github.com/twisted/twisted/pull/1134

There are some comments in there related to documentation changes.
Can the non-documentation changes be pulled out of PR 1134 and merged to trunk now?

I created a PR without them here: https://github.com/twisted/twisted/pull/1380

I guess whenever black is merged to trunk, then a follow-up PR to update `.git-blame-ignore-devs` would be required?

I think merging that PR should involve immediately running tox -e black-reformat, isort, committing the result, and adding that commit to .git-blame-ignore-revs. Those two commits should be pushed directly to trunk.

They can then proceed to push formatting commits to the open PR branches where that is possible. I went through all of these and dealt with the conflicts a while back.

I'd like to get this in this weekend.

---Tom