Poking and prodding at zprint to automate the process of formatting Clojure code. Not out of fastidiousness but because it’s tedious work that wears down people’s hands. We should delegate such work to prolong our health.
We have the following cases to provide examples of how you can format your code in a particular way.
defn how-to-ns kaocha
- Create a new directory within
cases
- Add your
in.clj
,out.clj
and.zprint.edn
files - Run the test suite via your favourite REPL or using
bin/test
- Create a commit using imperative mood (e.g. “Add” rather than “Adding” or “Adds”)
- Open a pull request
In future, failing tests will be acceptable when creating a pull request
documenting an issue, but we won’t merge them to the main
branch.