mutmut icon indicating copy to clipboard operation
mutmut copied to clipboard

Request: don't mutate positional-only signature marker

Open willfrey opened this issue 4 years ago • 2 comments

Hi there!

Thanks for all your work on mutmut!

As if Python 3.8, you can use the / character in a function/method signature definition to mark all the preceding parameters are being positional-only. The details are in PEP 570.

Currently, mutmut will find the / character in the signature and mutate it to be a *. mutmut doesn't mutate the keyword-only marker *, so it'd be nice if mutmut also left the / alone.

Thanks!

willfrey avatar May 20 '21 13:05 willfrey

True, I just found that it generates a lot of false positives.

castarco avatar Nov 03 '21 19:11 castarco

You want to give this a shot?

boxed avatar Nov 04 '21 05:11 boxed