Skip to content

Commit

Permalink
fix: author email
Browse files Browse the repository at this point in the history
  • Loading branch information
AtticusZeller committed Feb 21, 2025
1 parent 03ef104 commit e243316
Showing 1 changed file with 46 additions and 49 deletions.
95 changes: 46 additions & 49 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
Expand All @@ -13,21 +13,21 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
"Programming Language :: Python :: 3.13",
] # FROM: https://pypi.org/classifiers/
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "A.J.Zeller", email = "zhouge1831@gmail.com" }]
maintainers = [{ name = "A.J.Zeller", email = "zhouge1831@gmail.com" }]
authors = [{ name = "A.J.Zeller", email = "hello@atticux.me" }]
maintainers = [{ name = "A.J.Zeller", email = "hello@atticux.me" }]

dynamic = ["version"] # https://hatch.pypa.io/latest/config/metadata/#version

[project.urls]
Homepage = "/~https://github.com/aittcuszz/python-uv"
Issues = "/~https://github.com/atticuszeller/python-uv/issues"
Homepage = "/~https://github.com/aittcuszz/python-uv"
Issues = "/~https://github.com/atticuszeller/python-uv/issues"
documentation = "https://atticuszeller.github.io/python-uv/"
Changelog = "/~https://github.com/atticuszeller/python-uv/blob/main/CHANGELOG.md"
Changelog = "/~https://github.com/atticuszeller/python-uv/blob/main/CHANGELOG.md"

[project.scripts] # build-backend config needed
example_cli = "python_uv:main" # equal to from python import main; then run main()
Expand All @@ -49,7 +49,7 @@ dev = [
"typos>=1.26.8",
]
docs = [
"mkdocs-git-revision-date-localized-plugin>=1.2.9",
"mkdocs-git-revision-date-localized-plugin>=1.2.9",
"mkdocs-glightbox>=0.4.0",
"mkdocs-material>=9.5.39",
"mkdocs-obsidian-bridge>=1.1.1",
Expand All @@ -65,7 +65,6 @@ path = "src/python_uv/__init__.py"
packages = ["src/python_uv"]
# FROM: https://hatch.pypa.io/latest/build/


## Test
[tool.mypy]
strict = true
Expand All @@ -74,9 +73,9 @@ exclude = ["venv", ".venv"]
[tool.pytest.ini_options]
# Set additional command line options for pytest
# Ref: https://docs.pytest.org/en/stable/reference/reference.html#command-line-flags
addopts = "-rXs --strict-config --strict-markers --tb=short"
xfail_strict = true # Treat tests that are marked as xfail but pass as test failures
filterwarnings = ["error"] # Treat all warnings as errors
addopts = "-rXs --strict-config --strict-markers --tb=short"
xfail_strict = true # Treat tests that are marked as xfail but pass as test failures
filterwarnings = ["error"] # Treat all warnings as errors
pythonpath = "src/python_uv/"

[tool.coverage.run]
Expand All @@ -100,7 +99,6 @@ exclude_lines = [
'if __name__ == .__main__.=',
]


## Linter and formatter
[tool.ruff]
# cover and extend the default config in https=//docs.astral.sh/ruff/configuration/
Expand Down Expand Up @@ -137,7 +135,7 @@ skip-magic-trailing-comma = true
## VCS
[tool.git-cliff.remote.github]
owner = "atticuszeller"
repo = "python-uv-package"
repo = "python-uv-package"

[tool.git-cliff.changelog]
# template for the changelog header
Expand Down Expand Up @@ -192,20 +190,20 @@ commit_preprocessors = [
]
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->πŸš€ Features" },
{ message = "^fix", group = "<!-- 1 -->πŸ› Bug Fixes" },
{ message = "^doc", group = "<!-- 3 -->πŸ“š Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚑ Performance" },
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
{ message = "^test", group = "<!-- 6 -->πŸ§ͺ Testing" },
{ message = "^chore\\(release\\)", skip = true },
{ message = "^chore\\(deps.*\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|^ci", group = "<!-- 7 -->βš™οΈ Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->πŸ›‘οΈ Security" },
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
{ message = "^feat", group = "<!-- 0 -->πŸš€ Features" },
{ message = "^fix", group = "<!-- 1 -->πŸ› Bug Fixes" },
{ message = "^doc", group = "<!-- 3 -->πŸ“š Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚑ Performance" },
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
{ message = "^test", group = "<!-- 6 -->πŸ§ͺ Testing" },
{ message = "^chore\\(release\\)", skip = true },
{ message = "^chore\\(deps.*\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|^ci", group = "<!-- 7 -->βš™οΈ Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->πŸ›‘οΈ Security" },
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
]
# filter out the commits that are not matched by commit parsers
filter_commits = false
Expand All @@ -214,34 +212,33 @@ topo_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"


[tool.bumpversion]
current_version = "0.0.40"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
current_version = "0.0.40"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = true
sign_tags = false
tag_name = "v{new_version}"
tag_message = "chore(release): {current_version} β†’ {new_version}"
allow_dirty = true # git-cliff first then bump patch
commit = true
message = "chore(release): {current_version} β†’ {new_version}"
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []
ignore_missing_files = false
tag = true
sign_tags = false
tag_name = "v{new_version}"
tag_message = "chore(release): {current_version} β†’ {new_version}"
allow_dirty = true # git-cliff first then bump patch
commit = true
message = "chore(release): {current_version} β†’ {new_version}"
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []

[[tool.bumpversion.files]]
filename = "src/python_uv/__init__.py"

[[tool.bumpversion.files]]
filename = "CHANGELOG.md"
search = "unreleased"
replace = "{new_version} - {now:%Y-%m-%d}"
search = "unreleased"
replace = "{new_version} - {now:%Y-%m-%d}"

# https://callowayproject.github.io/bump-my-version/reference/search-and-replace-config/

0 comments on commit e243316

Please sign in to comment.