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

Refactored file resolution, inclusion, and exclusion #63

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

coordt
Copy link
Member

@coordt coordt commented Sep 4, 2023

  • Fixes Constant strings interpreted as regex #61
  • Config now includes resolved_filemap property
  • resolved filemap exapands all globs
  • Config now includes files_to_modify property
  • files to modify resolves inclusions and exclutions
  • Improved Config.add_files property

- Fixes #61
- Config now includes `resolved_filemap` property
- resolved filemap exapands all globs
- Config now includes `files_to_modify` property
- files to modify resolves inclusions and exclutions
- Improved Config.add_files property
@coordt coordt linked an issue Sep 4, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Sep 4, 2023

Codecov Report

Merging #63 (646af54) into master (3cfcbf3) will increase coverage by 0.09%.
Report is 2 commits behind head on master.
The diff coverage is 94.73%.

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
+ Coverage   93.61%   93.70%   +0.09%     
==========================================
  Files          15       15              
  Lines        1049     1065      +16     
  Branches      234      242       +8     
==========================================
+ Hits          982      998      +16     
  Misses         42       42              
  Partials       25       25              
Flag Coverage Δ
python-3.10 93.70% <94.73%> (+0.09%) ⬆️
python-3.11 93.70% <94.73%> (+0.09%) ⬆️
python-3.8 93.70% <94.73%> (+0.09%) ⬆️
python-3.9 93.70% <94.73%> (+0.09%) ⬆️

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

Files Changed Coverage Δ
bumpversion/config.py 91.32% <92.85%> (+0.20%) ⬆️
bumpversion/__init__.py 100.00% <100.00%> (ø)
bumpversion/bump.py 100.00% <100.00%> (ø)
bumpversion/cli.py 98.29% <100.00%> (+0.02%) ⬆️
bumpversion/files.py 95.65% <100.00%> (+1.36%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@coordt coordt merged commit 629e24f into master Sep 5, 2023
10 of 11 checks passed
@coordt coordt deleted the 61-constant-strings-interpreted-as-regex branch September 5, 2023 11:48
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.

Constant strings interpreted as regex
1 participant