Commit Graph

13 Commits

Author SHA1 Message Date
Ahmed Ismail
edf50fdf80 Add credo to the project and:
- Run mix credo --all to identify possible code optimizations
 - Resolve most of the errors generated by credo such as:
   - Numbers larger than 9999 should be written with underscores: 58_127
   - Modules should have a @moduledoc tag
   - Comparison will always return true
2023-11-10 00:57:21 +05:00
Martino Visintin
b07df7c780 add .formatter.exs + format 2018-05-22 21:46:54 +01:00
Jay Hayes
78995827f7 Remove a couple more unneeded function heads
The `:do` seems to be accounted for by the implementation. Tests
shouldn't pass if this is needed.
2016-10-17 08:15:14 -05:00
Jay Hayes
fcc4cc6548 Remove unused function heads
Basically `___` will always quote as a tuple.
2016-10-17 08:11:45 -05:00
Jay Hayes
146da99c32 Replace function head with List.wrap/1 2016-10-17 07:55:03 -05:00
Jay Hayes
a2e3fe6d93 "I don't think that word means what you think it means" 😂
Without the argument or a local variable, these references are invoking
Kernel.node/0
http://elixir-lang.org/docs/stable/elixir/Kernel.html#node/0
2016-06-15 17:59:05 -05:00
Jay Hayes
9e03b9e47c Remove unnecessary internal module reference 2016-06-15 17:57:25 -05:00
Jay Hayes
c7c2fbcdff Auto-pin variables when replacing blanks in assert_receive 2016-05-02 20:45:03 -05:00
Uku Taht
5e7391402e Stop wrapping ExUnit 2016-04-23 21:39:22 +01:00
Uku Taht
ded0f11ec6 Use triple underscore instead of double 2016-04-20 11:23:44 +01:00
Uku Taht
ea2bb8f9bf Use bare double underscores instead of atoms 2016-04-19 13:35:20 +01:00
Felipe Sere
f564927751 Make private functions private 2016-03-20 19:51:45 +00:00
Felipe Sere
994579f497 Rename and clean the ASTMangler to Blanks 2016-03-20 19:51:45 +00:00