We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ae7ecb commit 8b53e2bCopy full SHA for 8b53e2b
1 file changed
WrightSim/__version__.py
@@ -7,8 +7,7 @@
7
__all__ = ["__version__", "__branch__"]
8
9
# read from VERSION file
10
-with __here__ / "VERSION" as f:
11
- __version__ = f.read_text().strip()
+__version__ = (__here__ / "VERSION").read_text().strip()
12
13
# add git branch, if appropriate
14
p = __here__.parent / ".git" / "HEAD"
0 commit comments