timvideos / edid.tv

EDID Database Website
GNU General Public License v2.0
26 stars 7 forks source link

Upgrade to Python 3 #31

Closed pp3345 closed 5 years ago

pp3345 commented 5 years ago

This branch upgrades the project to Python 3.7 and removes compatibility for Python 2.

mithro commented 5 years ago
0.13s$ coverage run --source=edid_parser edid_parser/tests.py
Traceback (most recent call last):
  File "edid_parser/tests.py", line 6, in <module>
    from .edid_parser import (EDIDParser, EDIDParsingError, DisplayType,
ModuleNotFoundError: No module named '__main__.edid_parser'; '__main__' is not a package
The command "coverage run --source=edid_parser edid_parser/tests.py" exited with 1.
pp3345 commented 5 years ago

Yeah, looking into that now.

mithro commented 5 years ago
0.08s$ pycodestyle --statistics --exclude=wsgi.py *.py
path.py:2:16: W292 no newline at end of file
1       W292 no newline at end of file
The command "pycodestyle --statistics --exclude=wsgi.py *.py" exited with 1.
pp3345 commented 5 years ago

Okay, everything is green now.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.1%) to 99.051% when pulling 92a2102301f7498f093c08dc6cb5dc32020cdb8f on pp3345:py3 into e1138d2d78c8d5128ba97bd90ffe0e47cf9e4877 on timvideos:master.