python-redlines 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-redlines
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Generate tracked-change redline .docx documents by comparing Word files.
5
5
  Project-URL: Homepage, https://github.com/JSv4/Python-Redlines
6
6
  Project-URL: Issues, https://github.com/JSv4/Python-Redlines/issues
@@ -1,4 +1,4 @@
1
1
  # SPDX-FileCopyrightText: 2024-present U.N. Owen <void@some.where>
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
- __version__ = "0.2.0"
4
+ __version__ = "0.2.1"
@@ -132,11 +132,11 @@ class BaseEngine(object):
132
132
  """
133
133
  return [self.extracted_binaries_path, author_tag, original_path, modified_path, target_path]
134
134
 
135
- def run_redline(self, author_tag: str, original: Union[bytes, Path], modified: Union[bytes, Path], **kwargs) \
136
- -> Tuple[bytes, Optional[str], Optional[str]]:
135
+ def run_redline(self, author_tag: str, original: Union[str, bytes, Path], modified: Union[str, bytes, Path],
136
+ **kwargs) -> Tuple[bytes, Optional[str], Optional[str]]:
137
137
  """
138
- Runs the redline binary. The 'original' and 'modified' arguments can be either bytes or file paths.
139
- Returns the redline output as bytes.
138
+ Runs the redline binary. The 'original' and 'modified' arguments can be either bytes or file paths
139
+ (as ``str`` or ``pathlib.Path``). Returns the redline output as bytes.
140
140
 
141
141
  Additional keyword arguments are passed to _build_command() for engine-specific options.
142
142
  DocxodusEngine supports: detail_threshold, case_insensitive, detect_moves,