Re: [Twisted-Python] Black enabled in trunk

2020-09-16 Thread Glyph
On September 15, 2020 at 11:04:45 PM, Tom Most (t...@freecog.net ) wrote: > On Tue, Sep 15, 2020, at 7:26 AM, Kyle Altendorf wrote: > > On 2020-09-14 13:43, Glyph wrote: > > > > >> On Sep 13, 2020, at 11:45 PM, Tom Most > >> > wrote: > > >> To ad

Re: [Twisted-Python] Black enabled in trunk

2020-09-15 Thread Tom Most
On Tue, Sep 15, 2020, at 7:26 AM, Kyle Altendorf wrote: > On 2020-09-14 13:43, Glyph wrote: > > >> On Sep 13, 2020, at 11:45 PM, Tom Most wrote: > >> To adjust the formatting: > >> > >> tox -e black-reformat > >> > >> The formatting is checked by a new GitHub Actions lint built. > > > > Could

Re: [Twisted-Python] Black enabled in trunk

2020-09-15 Thread Barry Scott
On Monday, 14 September 2020 07:45:43 BST Tom Most wrote: > Hi all, > > Craig and I have been working to land a switch to The *Black* Coding Style > . It's in! > The tree has been reformatted >

Re: [Twisted-Python] Black enabled in trunk

2020-09-15 Thread Glyph
> On Sep 15, 2020, at 10:08 AM, Barry Scott wrote: > > How does this work with backwards compatibility? > There are lots of symbols are that not black right? PEP8 suggests (but does not mandate) snake_case identifiers where Twisted uses camelCase. But Black doesn't care at all about identifie

Re: [Twisted-Python] Black enabled in trunk

2020-09-15 Thread Kyle Altendorf
On 2020-09-14 13:43, Glyph wrote: On Sep 13, 2020, at 11:45 PM, Tom Most wrote: To adjust the formatting: tox -e black-reformat The formatting is checked by a new GitHub Actions lint built. Could we possibly use something like this: https://github.com/cclauss/autoblack to just _do_ the fo

Re: [Twisted-Python] Black enabled in trunk

2020-09-14 Thread Glyph
> On Sep 13, 2020, at 11:45 PM, Tom Most wrote: > > Hi all, > > Craig and I have been working to land a switch to The Black Coding Style > . It's in! > The tree has been reformatted >

[Twisted-Python] Black enabled in trunk

2020-09-13 Thread Tom Most
Hi all, Craig and I have been working to land a switch to The *Black* Coding Style . It's in! The tree has been reformatted . Some notable chang