Skip to content

Commit

Permalink
Added setuptools-git-versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
adamfarquhar committed Sep 10, 2024
1 parent 9783114 commit 7e7e2e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Empty file added VERSION
Empty file.
9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,16 @@ fido-toxml = "fido.toxml:main"
[tool.setuptools.package-data]
"fido" = ["*.*", "conf/*.*", "pronom/*.*"]

[tool.setuptools-git-versioning]
enabled = true
# version_file = "VERSION"
# count_commits_from_version_file = true
# dev_template = "{tag}.{branch}{ccount}" # <--- note {branch} here
# dirty_template = "{tag}.{branch}{ccount}"

[tool.pytest.ini_options]
addopts = "--maxfail=1 --strict-markers"

[tool.setuptools-git-versioning]
enabled = true

[tool.flake8]
exclude = ['.venv']
Expand Down

0 comments on commit 7e7e2e4

Please sign in to comment.