[FEATURE] Python 3.12 types support
hippalectryon-0 opened this issue · comments
Hippalectryon commented
Problem:
python 3.12 valid syntax such as type vec2 = np.ndarray[(2,), float]
is detected as a SyntaxError by pycln, although it is not.
Hadi Alqattan commented
Hey @hippalectryon-0, could you confirm that the master branch fixes this problem please?
Thanks.
Hadi Alqattan commented
@hippalectryon-0 please checkout v2.4.0
Hippalectryon commented
I get error: cannot format temp.py: Cannot parse: 3:5: type vec2 = np.ndarray[(2,), float]