-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump to 1.0.4 + miscellaneous maintenance #102
Conversation
This resolves a deprecation warning to do with calling `use Mix.Config` Since libraries aren't intended to set application config anyway, we should just delete the directory.
By default, if MIX_ENV is unset, mix tasks run using the :dev environment. This is required to ensure that tests are run when calling `mix quality` with no explicit environment.
The `...>` notation is reserved for multiline expressions. If the previous expression is intended to be ignored, then no changes in the syntax are required. This resolves a number of warnings about unused literals and causes some missed tests to be run correctly.
This resolves a compile warning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for submitting a PR 🎉 It's very appreciated!
The first is a pattern that's very common within the codebase, and the second is incompatible with Semigroupoid.apply/2
15d389e
to
bc78824
Compare
{Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 100}, | ||
{Credo.Check.Readability.PipeIntoAnonymousFunctions, false}, | ||
# This rule incorrectly flags uses of Witchcraft.Semigroupoid.apply/2 | ||
{Credo.Check.Refactor.Apply, false} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm I wonder if we should rework the relevant parts of the library to make them compatible with the updated community naming conventions 🤔 I'll open an Issue at minimum.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is another small release that mostly updates dependencies and performs some miscellaneous maintenance. Importantly though, it updates to the new versions of
quark
andtype_class
, which add compatibility for running under Elixir 1.13.Making these changes did reveal a risk that we may need to be aware of though: it looks like
^^^
may be deprecated and planned for removal in Elixir 2.0.0. I'm waiting on clarification from the core team as to whether the operator is being removed entirely, or whether it's just its use inBitwise.bxor/2
that's being removed, but that can be tracked here: elixir-lang/elixir#11590Depending on their response, I'll make an issue to track finding a solution in
witchcraft
for the operator's use with Arrows.