bencheeorg / benchee

Easy and extensible benchmarking in Elixir providing you with lots of statistics!
MIT License
1.41k stars 66 forks source link

Set up DoctestFormatter #427

Closed angelikatyborska closed 6 months ago

angelikatyborska commented 6 months ago

This PR sets up a formatter plugin that deals with doctests, https://hexdocs.pm/doctest_formatter/readme.html

The plugin formats Elixir code in the test according to the rules that apply to the rest of the codebase, and also makes the iex> prompts consistent.

Disclaimer: I'm the author of the plugin, and the plugin was written based on @PragTob's suggestion 🙂

PragTob commented 6 months ago

This is omega nice! Mega Dzieki!

I'm traveling right now, I'll fix the damn macos build and then merge the MR :sweat_smile:

I looked the changes over and it's exactly what I was looking for, this is amazing work thank you very much!

IMG_20220109_104347

PragTob commented 6 months ago

Thanks a lot @angelikatyborska !