We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 034010d commit a8a0d3eCopy full SHA for a8a0d3e
1 file changed
src/pkgcheck/checks/rust.py
@@ -69,7 +69,7 @@ def _verify_crates(self, pkg: bash.ParseTree):
69
row, _ = val_node.start_point
70
val_str = pkg.node_str(val_node).strip("'\"")
71
crates = val_str.split()
72
- if len(crates) > 300:
+ if len(crates) > 300 and self.options.gentoo_repo:
73
yield TooManyCrates(count=len(crates), pkg=pkg)
74
for lineno, line in enumerate(crates, start=row + 1):
75
for token in line.split():
0 commit comments