Closed adsharma closed 3 years ago
For compatibility with Python 3.6 (the default on Ubuntu 18.04), I will not use dataclasses; typing.NamedTuple also offers type safety.
Regex strings do not need to be raw strings (in particular not if they contain no escape sequences).
Regex strings do not need to be raw strings (in particular not if they contain no escape sequences).
flake8 is more explicit:
x64_lib.py:241:23: W605 invalid escape sequence '+' x64_lib.py:241:41: W605 invalid escape sequence '[' x64_lib.py:241:47: W605 invalid escape sequence ']'
https://pypi.org/project/dataclasses/ have been backported to 3.6 and indentation of 3 spaces is weird.
Had a few questions:
black
is fairly common