sixty-north / cosmic-ray

Mutation testing for Python
MIT License
556 stars 54 forks source link

Need to consider files using encoding other than utf8 #548

Closed abingham closed 1 month ago

abingham commented 2 months ago

Apparently utf8 is just the default encoding, or so I've been told. Need to investigate and determine what cr needs to do to account for this.

abingham commented 2 months ago

Take a look at tokenize.detect_encoding().

abingham commented 2 months ago

This should be fixed now.