Skip to content

Commit

Permalink
fix: simplify build configuration and update citation format (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjarten authored Nov 11, 2024
1 parent 636e2d2 commit 0839e21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ If you find this package useful in your research, please consider citing it as:
title = {early-stopping-pytorch: A PyTorch utility package for Early Stopping},
year = {2024},
url = {https://github.com/Bjarten/early-stopping-pytorch},
note = {Version 1.0.7}
}
```

Expand Down
9 changes: 1 addition & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,7 @@ dependencies = [
Repository = "https://github.com/Bjarten/early-stopping-pytorch"

[tool.semantic_release]
version_variables = [
"early_stopping_pytorch/__init__.py:__version__",
"README.md:version_note"
]
version_pattern = '''
(?P<variable>__version__\s*=\s*['"](?P<version>[^'"]+)['"]) |
(?P<variable>note\s*=\s*\{Version\s(?P<version>[^}]+)\})
'''
version_variables = ["early_stopping_pytorch/__init__.py:__version__"]
tag_format = "v{version}"
version_toml = ["pyproject.toml:project.version"]
branch = "main"
Expand Down

0 comments on commit 0839e21

Please sign in to comment.