From 2d63a51d7f50e6ac8948c6d5946f245a27f6cd31 Mon Sep 17 00:00:00 2001 From: Curry Date: Wed, 24 Jun 2026 02:37:15 +0800 Subject: [PATCH] chore: add DeepSource configuration --- .deepsource.toml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .deepsource.toml diff --git a/.deepsource.toml b/.deepsource.toml new file mode 100644 index 0000000..252f3a4 --- /dev/null +++ b/.deepsource.toml @@ -0,0 +1,29 @@ +version = 1 + +test_patterns = [ + "tests/**", + "test/**", + "**/*test*", + "**/*.test.*", +] + +exclude_patterns = [ + "node_modules/**", + "dist/**", + "target/**", + "vendor/**", + "build/**", + "coverage/**", + "bundle.js", + "**/bundle.js", + "**/generated/**", +] + +[[analyzers]] +name = "python" +enabled = true + + [analyzers.meta] + runtime_version = "3.x.x" + max_line_length = 120 + cyclomatic_complexity_threshold = "high"