Skip to content

Commit

Permalink
feat(pyproject.toml): add bump-my-version for automatic version bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
bskim45 committed Aug 5, 2024
1 parent 2f0790f commit 1b5b557
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ dev-dependencies = [
"pytest>=8.3.1",
"ruff>=0.5.4",
"pylint>=3.2.6",
"bump-my-version>=0.24.3",
]


[tool.hatch.metadata]
allow-direct-references = true

Expand All @@ -41,6 +43,7 @@ packages = ["src/ridiwise"]
[tool.hatch.version]
path = "src/ridiwise/__init__.py"


[tool.ruff]
line-length = 88
indent-width = 4
Expand All @@ -55,3 +58,15 @@ extend-select = [

[tool.ruff.format]
quote-style = "single"


[tool.bumpversion]
current_version = "1.1.0"
tag = true
sign_tags = true
tag_message = ""
commit = true
message = "chore: bump version to {new_version}"

[[tool.bumpversion.files]]
filename = 'src/ridiwise/__init__.py'
32 changes: 32 additions & 0 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,25 @@
# universal: false

-e file:.
annotated-types==0.7.0
# via pydantic
anyio==4.4.0
# via httpx
astroid==3.2.4
# via pylint
bracex==2.5
# via wcmatch
browser-cookie3==0.19.1
# via ridiwise
bump-my-version==0.24.3
certifi==2024.7.4
# via httpcore
# via httpx
cfgv==3.4.0
# via pre-commit
click==8.1.7
# via bump-my-version
# via rich-click
# via typer
dill==0.3.8
# via pylint
Expand Down Expand Up @@ -66,30 +73,55 @@ playwright==1.45.1
pluggy==1.5.0
# via pytest
pre-commit==3.7.1
prompt-toolkit==3.0.36
# via questionary
pycryptodomex==3.20.0
# via browser-cookie3
pydantic==2.8.2
# via bump-my-version
# via pydantic-settings
pydantic-core==2.20.1
# via pydantic
pydantic-settings==2.4.0
# via bump-my-version
pyee==11.1.0
# via playwright
pygments==2.18.0
# via rich
pylint==3.2.6
pytest==8.3.1
python-dotenv==1.0.1
# via pydantic-settings
pyyaml==6.0.1
# via pre-commit
questionary==2.0.1
# via bump-my-version
rich==13.7.1
# via bump-my-version
# via rich-click
# via typer
rich-click==1.8.3
# via bump-my-version
ruff==0.5.4
shellingham==1.5.4
# via typer
sniffio==1.3.1
# via anyio
# via httpx
tomlkit==0.13.0
# via bump-my-version
# via pylint
typer==0.12.3
# via ridiwise
typing-extensions==4.12.2
# via pydantic
# via pydantic-core
# via pyee
# via rich-click
# via typer
virtualenv==20.26.3
# via pre-commit
wcmatch==9.0
# via bump-my-version
wcwidth==0.2.13
# via prompt-toolkit

0 comments on commit 1b5b557

Please sign in to comment.