Re: Wrong link on homepage
Peter Cock via reportlab-users <[email protected]>
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <CAKVJ-_5OXHx3UKkCqhouEYWnin=HUwuoTfgEwZOYCYMfyvhbew@mail.gmail.com> |
That's a good idea, if most of your Python developers are on board with it. If you do apply black whole-scale, I think it would be better to do it sooner rather than later, as it will disrupt merging any feature branches started before applying black. Applying it incrementally on a folder by folder or even file by file basis can work too - this can can be enforced with continuous integration with a shrinking exclude list. Peter Self promotion: You might find https://github.com/peterjc/flake8-black useful for doing the black check from within flake8. Alternatively something like pre-commit can handle multiple checks like flake8, black, XML validation, etc (i.e. not just Python files). On Thu, Apr 2, 2020 at 3:01 PM Christoph Zwerschke <[email protected]> wrote: > That would be great. > > You should really clean up and modernize the code style, remove trailing > whitespace etc. flake8 is a great help here, best to run it as part of > the test suite. Or even use black formatting. > > flake8: https://flake8.pycqa.org/en/latest/ > black: https://github.com/psf/black > > -- Christoph > > > Am 23.03.2020 um 14:12 schrieb Andy Robinson: > > Thanks for pointing this out. Forwarding to a colleague - we should > > have plenty of time for site tidyups in the next few weeks! > > > > - Andy > _______________________________________________ > reportlab-users mailing list > [email protected] > https://pairlist2.pair.net/mailman/listinfo/reportlab-users >