Skip to content

Commit 2e809a8

Browse files
author
Nick MacCarthy
committed
fix: type set for version
1 parent c84062a commit 2e809a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
from codecs import open
1111
import os
1212
from os import path
13+
from typing import Dict
1314

1415
here = path.abspath(path.dirname(__file__))
1516

16-
17-
version = {}
17+
version: Dict[str, str] = {}
1818
with open(os.path.join(here, 'datemath', '_version.py')) as f:
1919
exec(f.read(), version)
20-
VERSION = str(version['__version__'])
20+
VERSION = version['__version__']
2121

2222

2323
setup(

0 commit comments

Comments
 (0)