Skip to content

Commit

Permalink
fix: pdm sync introduced version file format (#47)
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <kemingyang@tensorchord.ai>
  • Loading branch information
kemingy authored Sep 21, 2023
1 parent d13dc06 commit b61f715
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,4 @@ cython_debug/
.pdm-python
.pdm-build
.ruff_cache/
llmspec/__version__.py
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ build-backend = "pdm.backend"
[tool.pdm.version]
source = "scm"
write_to = "llmspec/__version__.py"
write_template = "__version__ = '{}'"
write_template = """__version__ = "{}"
"""
[tool.pdm.dev-dependencies]
lint = [
"ruff>=0.0.267",
Expand Down

0 comments on commit b61f715

Please sign in to comment.