From 3c06c22c108f9ed3dcaa41af1dd72bc485fc7e60 Mon Sep 17 00:00:00 2001 From: Curry Date: Wed, 24 Jun 2026 02:33:31 +0800 Subject: [PATCH] chore: add DeepSource configuration --- .deepsource.toml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .deepsource.toml diff --git a/.deepsource.toml b/.deepsource.toml new file mode 100644 index 0000000..a467e3b --- /dev/null +++ b/.deepsource.toml @@ -0,0 +1,34 @@ +version = 1 + +test_patterns = [ + "tests/**", + "test/**", + "**/*test*", + "**/*.test.*", +] + +exclude_patterns = [ + "node_modules/**", + "dist/**", + "target/**", + "vendor/**", + "build/**", + "coverage/**", + "bundle.js", + "**/bundle.js", + "**/generated/**", +] + +[[analyzers]] +name = "cxx" +enabled = true + + [analyzers.meta] + cyclomatic_complexity_threshold = "high" + +[[analyzers]] +name = "shell" +enabled = true + + [analyzers.meta] + dialect = "bash"