Skip to content

Commit

Permalink
version bump, documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blingenf committed Jul 15, 2023
1 parent e92ab23 commit 530ecbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Configuration options can be provided either by using the command line arguments
- `disable_autoopen` (`-a`, `--disable-autoopen`): if `true`, the detector will not automatically open a browser window to display the report.
- `truncate` (`-T`, `--truncate`): if `true`, highlighted code will be truncated to remove non-highlighted regions from the displayed output (sections not within 10 lines of highlighted code will be replaced with "...").
- `out_file` (`-O`, `--out-file`): path to save output report to. A '.html' extension will be added to the path if not provided. If a directory is provided instead of a file, the report will be saved to that directory as report.html.
- `encoding` (`--encoding`): encoding to use for reading files (the default is UTF-8). If files use varying encodings, --encoding DETECT can be used to detect the encoding of all files *(note: encoding detection requires the chardet package)*.

## API
Copydetect can also be run via the python API. An example of basic usage is provided below. API documentation is available [here](https://copydetect.readthedocs.io/en/latest/api.html).
Expand Down
2 changes: 1 addition & 1 deletion copydetect/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "0.4.5"
__version__ = "0.4.6"

from .detector import CopyDetector, CodeFingerprint, compare_files

0 comments on commit 530ecbd

Please sign in to comment.