Skip to content

Commit

Permalink
fix ignoring changes in partial template files
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Feb 1, 2024
1 parent a622eb1 commit 5966957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/lint/files_unchanged.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def _tf(file_path: Union[str, Path]) -> Path:
# Files that can be added to, but that must contain the template contents
for files in files_partial:
# Ignore if file specified in linting config
if any([f in ignore_files for f in files]):
if any([str(f) in ignore_files for f in files]):
ignored.append(f"File ignored due to lint config: {self._wrap_quotes(files)}")

# Ignore if we can't find the file
Expand Down

0 comments on commit 5966957

Please sign in to comment.