Re: suggestion: using "black" for Warehouse formatting

2018-03-22 Thread Nathaniel Smith
Re-sending because google groups hates me. On Thu, Mar 22, 2018 at 4:02 PM, Nathaniel Smith wrote: > If you want to switch to auto-formatting but don't want to wait for > black to mature, yapf might be an option. Using this style file: > > https://github.com/python-trio/trio/blob/master/.styl

Re: suggestion: using "black" for Warehouse formatting

2018-03-22 Thread Donald Stufft
So I considered that (and right now, it has a show stopper bug which means we can’t start using it), but given (A) pinning to a specific version (which means we’re not going to be open to _new_ bugs or changes in behavior and (B) we’re still running flake8 (at least in my branch) but I think the

Re: suggestion: using "black" for Warehouse formatting

2018-03-22 Thread Ian Stapleton Cordasco
If you look at the issues I'm not sure it's presently stable enough for Warehouse. There are quite a few bugs which is normal for such a new project Sent from my phone with my typo-happy thumbs. Please excuse my brevity On Mar 22, 2018 12:18, "Sumana Harihareswara" wrote: > black

suggestion: using "black" for Warehouse formatting

2018-03-22 Thread Sumana Harihareswara
black is an opinionated code formatter. It is currently a pre-release in alpha. https://github.com/pypa/warehouse/pull/3367 Donald would like to add black to our linter and format all Warehouse code with black going forward. Comment on the pull request if you have