sixty-north / cosmic-ray

Mutation testing for Python
MIT License
565 stars 57 forks source link

Exclude modules #457

Closed Alcolo47 closed 5 years ago

Alcolo47 commented 5 years ago

Implementation of exclude-module

I don't use here interceptor because I don't want to see skipped module in the list of cosmic-ray -v INFO init

abingham commented 5 years ago

Would it be any more difficult to simply filter the return value of find_modules()? Currently find_modules() only has to do one thing: find modules. Adding a filtering mechanism to it seems unnecessary if we can use extrinsic methods to accomplish the same thing.

abingham commented 5 years ago

On a related note: if we ultimately do decide to change the API for find_modules(), you'll need to update the tests.

abingham commented 5 years ago

This all looks great, thanks!