Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The next release of bump-my-version #94

Merged
merged 18 commits into from
Dec 6, 2023
Merged

The next release of bump-my-version #94

merged 18 commits into from
Dec 6, 2023

Conversation

coordt
Copy link
Member

@coordt coordt commented Nov 18, 2023

No description provided.

pre-commit-ci bot and others added 2 commits November 13, 2023 19:46
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.5](astral-sh/ruff-pre-commit@v0.1.3...v0.1.5)
- [github.com/psf/black: 23.10.1 → 23.11.0](psf/black@23.10.1...23.11.0)
- [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.0](pre-commit/mirrors-mypy@v1.6.1...v1.7.0)
- [github.com/python-jsonschema/check-jsonschema: 0.27.0 → 0.27.1](python-jsonschema/check-jsonschema@0.27.0...0.27.1)
Copy link

codecov bot commented Nov 18, 2023

Codecov Report

Attention: 47 lines in your changes are missing coverage. Please review.

Comparison is base (97049e0) 93.54% compared to head (a980670) 91.76%.
Report is 1 commits behind head on master.

Files Patch % Lines
bumpversion/files.py 77.64% 14 Missing and 5 partials ⚠️
bumpversion/config/files.py 81.11% 11 Missing and 6 partials ⚠️
bumpversion/config/models.py 92.64% 3 Missing and 2 partials ⚠️
bumpversion/config/__init__.py 88.57% 2 Missing and 2 partials ⚠️
bumpversion/bump.py 60.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
- Coverage   93.54%   91.76%   -1.78%     
==========================================
  Files          15       17       +2     
  Lines        1069     1166      +97     
  Branches      243      252       +9     
==========================================
+ Hits         1000     1070      +70     
- Misses         46       66      +20     
- Partials       23       30       +7     
Flag Coverage Δ
python-3.10 91.76% <86.90%> (-1.78%) ⬇️
python-3.11 91.76% <86.90%> (-1.78%) ⬇️
python-3.8 91.76% <86.90%> (-1.78%) ⬇️
python-3.9 91.76% <86.90%> (-1.78%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

coordt and others added 16 commits November 18, 2023 09:56
Fixes #74

current_version and tag_name now do not need to match exactly
…g_name-need-to-match-exactly

74 current version and tag name need to match exactly
- Also made all attributes required except `filename`, `glob`, and `key_path`
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.6](astral-sh/ruff-pre-commit@v0.1.3...v0.1.6)
- [github.com/psf/black: 23.10.1 → 23.11.0](psf/black@23.10.1...23.11.0)
- [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.1](pre-commit/mirrors-mypy@v1.6.1...v1.7.1)
- [github.com/python-jsonschema/check-jsonschema: 0.27.0 → 0.27.2](python-jsonschema/check-jsonschema@0.27.0...0.27.2)
TOML files are parsed, specific values are updated, and re-written to avoid updating the wrong data.

It uses a two-way parser, so all formatting and comments are maintained.

INI-type configuration files use the old way, since that format is deprecated.
…endency-that-matches-project-version

Refactored configuration file updating.
@coordt coordt merged commit 1888e54 into master Dec 6, 2023
10 of 11 checks passed
@coordt coordt deleted the next branch December 6, 2023 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant