Skip to content

Commit 0b2a476

Browse files
authored
Merge pull request #11 from gradio-app/v-0.1.6
bump
2 parents 976584b + dff7f60 commit 0b2a476

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ dev = ["pytest"]
3131
packages = ["safehttpx"]
3232

3333
[tool.hatch.version]
34-
path = "version.txt"
34+
path = "safehttpx/version.txt"
3535
pattern = "^(?P<version>[0-9]+\\.[0-9]+\\.[0-9]+)$"

safehttpx/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import httpx
99

1010
def get_version():
11-
version_file = Path(__file__).parent.parent / 'version.txt'
11+
version_file = Path(__file__).parent / 'version.txt'
1212
with open(version_file, 'r') as f:
1313
return f.read().strip()
1414

safehttpx/version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.6

version.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)