Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix invalid escape sequence that gave a syntax warning #134

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

jkittner
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant