2 ms·
By default we use both based on regex: DEFAULT_INCLUDE_PATTERNS = { ".py", ".js", ".jsx", ".ts", ".tsx", ".go", ".java", ".pyi", ".pyx", ".c", ".cc", "
by zh2408 1y ago
By default we use both based on regex:
DEFAULT_INCLUDE_PATTERNS = {
".py", ".js", ".jsx", ".ts", ".tsx", ".go", ".java", ".pyi", ".pyx",
".c", ".cc", ".cpp", ".h", ".md", ".rst", "Dockerfile",
"Makefile", ".yaml", ".yml",
}
DEFAULT_EXCLUDE_PATTERNS = {
"test", "tests/", "docs/", "examples/", "v1/",
"dist/", "build/", "experimental/", "deprecated/",
"legacy/", ".git/", ".github/", ".next/", ".vscode/", "obj/", "bin/", "node_modules/", ".log"
}
- m0rde 1y agoHave you tried giving it tests? Curious if you found they made things worse.
- Tokumei-no-hito 1y agowhy exclude tests and docs by default?