Skip to content

Commit

Permalink
bumpversion 1.2.1, patch on GenomeGroup.add_folder
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanKepner committed Nov 10, 2019
1 parent 2bbaa61 commit a277764
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Changelog
Beta Releases
-------------

1.2.1
~~~~~

- Bugfix to ensure ``exclude`` path processing in ``GenomeGroup.add_folder`` always uses full
resolved paths for files.

1.2.0
~~~~~

Expand Down
2 changes: 1 addition & 1 deletion mutatest/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Mutation initialization.
"""
__version__ = "1.2.0"
__version__ = "1.2.1"

__title__ = "mutatest"
__description__ = "Python mutation testing: test your tests!"
Expand Down
2 changes: 1 addition & 1 deletion mutatest/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def add_folder(
TypeError: if ``source_folder`` is not a folder.
"""
source_folder = Path(source_folder)
exclude_files = [Path(e) for e in exclude_files] if exclude_files else set()
exclude_files = [Path(e).resolve() for e in exclude_files] if exclude_files else set()

if not source_folder.is_dir():
raise TypeError(f"{source_folder} is not a directory.")
Expand Down

0 comments on commit a277764

Please sign in to comment.