Comment by ganessh Comment by ganessh 4 days ago 3 replies Copy Link View on Hacker News Does it use the docs in the repository or only the code?
Copy Link zh2408 3 days ago Collapse Comment - 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" } Reply View | 2 replies Copy Link m0rde 3 days ago Parent Next Collapse Comment - Have you tried giving it tests? Curious if you found they made things worse. Reply View | 0 replies Copy Link Tokumei-no-hito 3 days ago Parent Prev Collapse Comment - why exclude tests and docs by default? Reply View | 0 replies
Copy Link m0rde 3 days ago Parent Next Collapse Comment - Have you tried giving it tests? Curious if you found they made things worse. Reply View | 0 replies
Copy Link Tokumei-no-hito 3 days ago Parent Prev Collapse Comment - why exclude tests and docs by default? Reply View | 0 replies
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" }