Skip to content

Commit

Permalink
Fix: add _Version.py to vcs and remove template
Browse files Browse the repository at this point in the history
  • Loading branch information
lwasser committed Dec 20, 2023
1 parent df88bf7 commit 7b1370c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 1 addition & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@ __pycache__
.Python
build/
dist/
sdist/
MANIFEST


# pyenv
.python-version


# Environments
.env
.venv
Expand All @@ -32,17 +28,13 @@ ENV/
env.bak/
venv.bak/



# mypy
.mypy_cache/
.dmypy.json
dmypy.json

token.txt
src/test-model.py
src/pyosmeta/_version_generated.py
.pdm-build/*
src/pyosmeta/_version.py

# local files
all-submissions.csv
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ update-review-teams = "pyosmeta.cli.update_review_teams:main"
[tool.hatch]
version.source = "vcs"
build.hooks.vcs.version-file = "src/pyosmeta/_version.py"
# If you're using a v in the version you have to create a template
#hbuild.hooks.vcs.template = '__version__ = "v{version}"'

[tool.black]
line-length = 79
Expand Down

0 comments on commit 7b1370c

Please sign in to comment.