diff --git a/tbump/file_bumper.py b/tbump/file_bumper.py index 2fd207c..f8c957d 100644 --- a/tbump/file_bumper.py +++ b/tbump/file_bumper.py @@ -224,6 +224,8 @@ def compute_change_requests(self) -> List[ChangeRequest]: change_requests = [] for file in self.files: change_request = self.compute_change_request_for_file(file) + if change_request.old_string == change_request.new_string: + continue change_requests.append(change_request) return change_requests