nixpkgs/pkgs/by-name/sq/sqruff/disable-templaters-test.diff
2025-06-02 08:38:36 +08:00

16 lines
425 B
Diff

diff --git a/crates/lib/tests/templaters.rs b/crates/lib/tests/templaters.rs
index f92604e1..84885f9f 100644
--- a/crates/lib/tests/templaters.rs
+++ b/crates/lib/tests/templaters.rs
@@ -32,6 +32,10 @@ impl Args {
}
}
+#[cfg(not(feature = "python"))]
+fn main() {}
+
+#[cfg(feature = "python")]
// FIXME: Simplify FluffConfig handling. It's quite chaotic right now.
fn main() {
let mut args = Args::default();