You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found several points in my project where when i have something like def some_func(arg1 \\ 1, arg2 \\ 2, arg3 \\ 3)
And if only use some_func(1, 2, 3) in a test function (like a fixture or something like that) i get an unused warning. I was wondering if mix_unused is working for test code as well and, if not, if there is a way to ignore an entire folder (not modules, but really a folder).
Thanks!
The text was updated successfully, but these errors were encountered:
It will be now possible via binary predicate function. It is not documented yet, but you may track #33 for documentation. Such predicate accepts MFA as a first argument and metadata as 2nd. Metadata will contain information about path to the file.
Hi,
I found several points in my project where when i have something like
def some_func(arg1 \\ 1, arg2 \\ 2, arg3 \\ 3)
And if only use
some_func(1, 2, 3)
in a test function (like a fixture or something like that) i get an unused warning. I was wondering if mix_unused is working for test code as well and, if not, if there is a way to ignore an entire folder (not modules, but really a folder).Thanks!
The text was updated successfully, but these errors were encountered: