We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a08d61 commit 0ab0b79Copy full SHA for 0ab0b79
attestations.py
@@ -58,7 +58,7 @@ def collect_dists(packages_dir: Path) -> list[Path]:
58
59
# Make sure everything that looks like a dist actually is one.
60
# We do this up-front to prevent partial signing.
61
- if (invalid_dists := [path for path in dist_paths if path.is_file()]):
+ if (invalid_dists := [path for path in dist_paths if not path.is_file()]):
62
invalid_dist_list = ', '.join(map(str, invalid_dists))
63
die(
64
'The following paths look like distributions but '
0 commit comments