Hi! I'm wondering if there's a direct way to exclude type hints within mutmut. For example, in the following code, I'm getting errors because mutmut tries to mutate the "|" operator to its counterpart "&":
@dataclass
class Specification:
filter: Criteria | None = None # Mutates to => Criteria & None = None
order: Order | None = None # Also happens in all of the cases below
limit: int | None = None
offset: int | None = None
Plus it becomes more complex in a scenario like this where I can't just whitelist the entire line:
user: User | None = self.repo.match(Specification(filter=Equals("email", user.email) | Equals("username", user.username)))
On the other hand, if mutmut cannot handle this right now in a straightforward manner, would it be possible for me to contribute to the repository by adding this functionality?
Hi! I'm wondering if there's a direct way to exclude type hints within mutmut. For example, in the following code, I'm getting errors because mutmut tries to mutate the "|" operator to its counterpart "&":
Plus it becomes more complex in a scenario like this where I can't just whitelist the entire line:
On the other hand, if mutmut cannot handle this right now in a straightforward manner, would it be possible for me to contribute to the repository by adding this functionality?