For unyt I just have a test in the test suite that checks to make sure if
black has output and if it does, it fails the test:
https://github.com/yt-project/unyt/blob/41bf39cbc73e85468d2aea780b5a88ae218e...
There is also this:
https://github.com/Mariatta/black_out
On Tue, Aug 27, 2019 at 4:16 AM Britton Smith
Hi Matt,
I think it's worth giving this a shot. Does anyone know of any bots or other automated ways of applying this to pull requests?
Britton
On Tue, Aug 20, 2019 at 8:37 PM Matthew Turk
wrote: Hi folks,
In this weeks "PyCoders" newsletter, they note that "git blame" can now ignore revisions.
https://twitter.com/llanga/status/1163767833706323970
https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs...
I believe this might remove one of the biggest objections we've had to things like running a code formatter such as black. It's not obvious to me that there won't be additional issues introduced by doing this, but it could be a good starting place for consistent code formatting.
-Matt _______________________________________________ yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org
_______________________________________________ yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org