-
Notifications
You must be signed in to change notification settings - Fork 56
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
Wildcards in no_call_functions MFA #325
Comments
I think this is a great idea. I would use |
Right, underscore is a lot more "Erlang". Not sold on the two-tuple though; why not just wildcard arity? |
Yeah, wildcard ariity is fine. |
Looks like your two-tuple may already work. elvis_core/src/elvis_style.erl Line 1974 in 361e26f
And it looks like it will be very easy to add what i want... let's see if i can't get some time for this soon. |
Is your feature request related to a problem? Please describe
Wildcards in no_call_functions MFA, i.e. rules that applies regardless of module name and/or function name and/or arity.
Describe the solution you'd like
Being able to do:
Describe alternatives you've considered
Dynamically generating rule definitions... too much work.
Additional Context
It is ridiculous to test a state machine without a running process, and with state data that it has not produced itself.
Running the statem/server callbacks explicitly from tests is the biggest antipattern i know in testing.
The text was updated successfully, but these errors were encountered: