Skip to content

Commit 71406d7

Browse files
committed
[#67] Fixed all linting errors on the timecode module.
1 parent c4decce commit 71406d7

3 files changed

Lines changed: 220 additions & 222 deletions

File tree

src/timecode/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
from timecode._version import __version__
2-
from timecode.timecode import Timecode, TimecodeError
1+
from timecode._version import __version__ # noqa: F401
2+
from timecode.timecode import Timecode, TimecodeError # noqa: F401

src/timecode/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
_VERSION = None
77
_VERSION_FILE = os.path.join(os.path.dirname(__file__), "VERSION")
88
if os.path.isfile(_VERSION_FILE):
9-
with open(_VERSION_FILE, "r") as _version_file:
9+
with open(_VERSION_FILE) as _version_file:
1010
_VERSION = _version_file.read().strip()
1111
__version__ = _VERSION or "0.0.0"
1212
"""str: The version of the package."""

0 commit comments

Comments
 (0)