P1sec / pycrate

A Python library to ease the development of encoders and decoders for various protocols and file formats; contains ASN.1 and CSN.1 compilers.
GNU Lesser General Public License v2.1
381 stars 132 forks source link

Mark regular strings expressions as raw strings #199

Closed mbrehler closed 2 years ago

mbrehler commented 2 years ago

Avoids pylint warnings

Change-Id: I0d4712f6c425884ec340ce1bfbeb2e56060f3538

p1-bmu commented 2 years ago

Is there a particular reason for this change ? Any concrete issue to be solved ? Did you try to recompile all ASN.1 modules after this change ?

mbrehler commented 2 years ago

You default pylint settings complained / generated a warning which I wanted to remove.

I didn't recompile all ASN.1 modules: On Windows that doesn't currently work out of the box for character set issues (I should file an issue for that...)

p1-bmu commented 2 years ago

I recompiled all ASN.1 modules, and the resulting modules are equal to the previous ones. So, everything is fine. Thanks for the contribution.