Skip to content

Commit ef0217d

Browse files
authored
Fix bug in pathnames when using --fullcheck (#201)
* Yet another weird round of having to repeatedly accept the same changes which git / VS Code are marking as in conflict. Annoyingly, this seems to have introduced a bug as well. * Fixing issue with external runners not establishing properly. * Fixing an error that seems to have crept in during merging main and resolving clashes. But looking at it, I really can't fathom out 'how' * Where do these line length errors in the linter(s) come from - I haven't edited this file... * quick "improvement" to the error reporting in one of the tests * Why am I constantly having to re-impliment fixes/tidying I'm sure I've done before. * And now ruff_format wants to change them back again... * Fix issue with "TLD" being repeated for paths when using --fullcheck * Undoing auto formatting again as github CI doesn't agree with it (picard.gif)
1 parent 2aa1484 commit ef0217d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script_umdp3_checker/umdp3_conformance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def get_files_to_check(
590590
"""
591591
if full_check: # Override to check all files present.
592592
repo_path = Path(path)
593-
all_files = [f for f in repo_path.rglob("*") if f.is_file()]
593+
all_files = [f.relative_to(path) for f in repo_path.rglob("*") if f.is_file()]
594594
if print_volume >= 1:
595595
print("Full check override enabled.")
596596
if print_volume >= 3:

0 commit comments

Comments
 (0)