Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

test(packaging): don't scan .venv for broken markdown links

PerryLink3896ba237bfa
diff --git a/tests/test_packaging.py b/tests/test_packaging.py
index 7c685eaa..b86434b1 100644
--- a/tests/test_packaging.py
+++ b/tests/test_packaging.py
@@ -117,9 +117,10 @@ def _headings(path):
_md = []
for _dirpath, _dirnames, _filenames in os.walk("."):
- # `.pytest_cache` ships a README of its own and is not part of the repository.
+ # `.pytest_cache` ships a README of its own and `.venv` is where CONTRIBUTING tells
+ # contributors to install; neither is part of the repository.
_dirnames[:] = [d for d in _dirnames
- if d not in (".git", "__pycache__", "node_modules", ".pytest_cache")]
+ if d not in (".git", "__pycache__", "node_modules", ".pytest_cache", ".venv")]
_md.extend(os.path.normpath(os.path.join(_dirpath, f))
for f in _filenames if f.endswith(".md"))
_md = sorted(_md)