7 Commits

Author SHA1 Message Date
Griatch
83154de19e Add extra dev tools, as suggested in #2965 by @mikejgray 2022-10-31 20:43:00 +01:00
Griatch
cc5aa91be1 Resolve merge conflicts 2020-04-12 12:19:03 +02:00
Griatch
ca341278e9 Ran black on sources 2020-04-12 12:17:06 +02:00
Griatch
2a18cb0a2d Better indexing of help suggestions with lunr, better display 2020-04-11 09:42:22 +02:00
Griatch
db506dc58c Fix typo in makefile 2019-09-28 19:09:38 +02:00
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Greg Taylor
ac810054aa Add auto-formatting via black
Introduce black, a Python code formatter. Also a Makefile that
includes two common targets:

* fmt (auto-format the code)
* lint (lint the code and return non-zero if out of spec)

We can re-use the latter in CI.

By introducing a code formatter, we can cut down on stylistic
variations across a now-large codebase. We can also avoid most style
discussions in PR if we just have this thing enforce it for us.
2019-09-22 10:23:28 +02:00