From 312821fa8d48cf2f4d3090a2347f980e30bb7661 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Thu, 14 Nov 2024 13:09:23 -0800 Subject: [PATCH] Add pycompat warning --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index 1a0d22a..451a17a 100644 --- a/main.go +++ b/main.go @@ -138,6 +138,10 @@ func main() { return } + if PyCompat { + slog.Warningf("Python compatibility mode is enabled. This will be removed in the next major release. Please update your configuration.") + } + // Load configuration config, err := LoadConfig(*configPath) slog.OnErrFatalf(err, "Error loading config: %v", err)