We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 976584b + dff7f60 commit 0b2a476Copy full SHA for 0b2a476
pyproject.toml
@@ -31,5 +31,5 @@ dev = ["pytest"]
31
packages = ["safehttpx"]
32
33
[tool.hatch.version]
34
-path = "version.txt"
+path = "safehttpx/version.txt"
35
pattern = "^(?P<version>[0-9]+\\.[0-9]+\\.[0-9]+)$"
safehttpx/__init__.py
@@ -8,7 +8,7 @@
8
import httpx
9
10
def get_version():
11
- version_file = Path(__file__).parent.parent / 'version.txt'
+ version_file = Path(__file__).parent / 'version.txt'
12
with open(version_file, 'r') as f:
13
return f.read().strip()
14
safehttpx/version.txt
@@ -0,0 +1 @@
1
+0.1.6
version.txt
0 commit comments