Skip to content

Commit 9eb95a5

Browse files
committed
Work around PyO3 issue 2555.
1 parent 832a54e commit 9eb95a5

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

x.py

+12-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,18 @@ def check(args):
6060
for manifest in gen_examples("Cargo.toml"):
6161
run("cargo", "fmt", "--manifest-path", manifest, "--", "--check")
6262

63-
run("cargo", "clippy", "--manifest-path", manifest, "--", "--deny", "warnings")
63+
run(
64+
"cargo",
65+
"clippy",
66+
"--manifest-path",
67+
manifest,
68+
"--",
69+
"--deny",
70+
"warnings",
71+
# https://github.com/PyO3/pyo3/issues/2555
72+
"--allow",
73+
"clippy::borrow-deref-ref",
74+
)
6475

6576

6677
def doc(args):

0 commit comments

Comments
 (0)