2010YOUY01 commented on code in PR #17754:
URL: https://github.com/apache/datafusion/pull/17754#discussion_r2375524005
##########
Cargo.toml:
##########
@@ -179,13 +179,53 @@ testcontainers-modules = { version = "0.12" }
tokio = { version = "1.47", features = ["macros", "rt", "sync"] }
url = "2.5.7"
+[workspace.lints.clippy]
+# Detects large stack-allocated futures that may cause stack overflow crashes
(see threshold in clippy.toml)
+large_futures = "warn"
+used_underscore_binding = "warn"
+or_fun_call = "warn"
+unnecessary_lazy_evaluations = "warn"
+uninlined_format_args = "warn"
+inefficient_to_string = "warn"
+
+[workspace.lints.rust]
+unexpected_cfgs = { level = "warn", check-cfg = [
+ 'cfg(datafusion_coop, values("tokio", "tokio_fallback", "per_stream"))',
+ "cfg(tarpaulin)",
+ "cfg(tarpaulin_include)",
+] }
+unused_qualifications = "deny"
Review Comment:
No change here, just moved things around.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]