We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d04b8f3 + dd327b9 commit 81838bcCopy full SHA for 81838bc
pyverilog/__init__.py
@@ -3,4 +3,5 @@
3
4
import os
5
6
-__version__ = open(os.path.join(os.path.dirname(__file__), "VERSION")).read().splitlines()[0]
+with open(os.path.join(os.path.dirname(__file__), "VERSION")) as f:
7
+ __version__ = f.read().splitlines()[0]
0 commit comments