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

Add Ignore missing file option #138

Merged
merged 6 commits into from
Feb 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed a coverage error !minor
  • Loading branch information
coordt committed Feb 18, 2024
commit 406199e5394087af3a8afcd124acff6731f90c9e
2 changes: 1 addition & 1 deletion bumpversion/files.py
Original file line number Diff line number Diff line change
@@ -182,7 +182,7 @@ def make_file_change(
logger.info("File not found, but ignoring")
logger.dedent()
return
raise FileNotFoundError(f"File not found: '{self.file_change.filename}'")
raise FileNotFoundError(f"File not found: '{self.file_change.filename}'") # pragma: no-coverage
logger.debug("Serializing the current version")
logger.indent()
context["current_version"] = self.version_config.serialize(current_version, context)