CenterForTheBuiltEnvironment / pythermalcomfort

Package to calculate several thermal comfort indices (e.g. PMV, PPD, SET, adaptive) and convert physical variables.
https://pythermalcomfort.readthedocs.io/en/latest/
MIT License
147 stars 52 forks source link

fix invalid escape sequence that gave a syntax warning #134

Open jkittner opened 1 month ago

jkittner commented 1 month ago

Hey, that gave me a syntax warning. I checked the entire repo using...

flake8 pythermalcomfort --select W605

...but that was the only case.

One should probably use something like this instead...

>>> from packaging.version import Version
>>> v = Version('1.2.3')
>>> v.major
1
>>> v.minor
2
>>> v.micro
3
>>> Version('1.2.3') > Version('1.2.2')
True