oc_chat
Loading...
Searching...
No Matches
package_walk.py File Reference

Go to the source code of this file.

Classes

class  oc_chat.testing.package_walk.WalkResult

Namespaces

namespace  oc_chat
namespace  oc_chat.testing
namespace  oc_chat.testing.package_walk

Functions

dict oc_chat.testing.package_walk._read_pyproject (Path root)
tuple[list[str], str|None] oc_chat.testing.package_walk._read_pytest_ini (Path root)
tuple[WalkResult|None, dict|None] oc_chat.testing.package_walk.walk_for_package (Path cwd)
bool oc_chat.testing.package_walk._matches_any (str name, list[str] patterns)
list[Path] oc_chat.testing.package_walk.scan_undeclared_roots (Path root, list[Path] declared, str python_files="test_*.py")

Variables

int oc_chat.testing.package_walk._WALK_LEVELS = 4
tuple oc_chat.testing.package_walk._CONFIG_NAMES = ("pyproject.toml", "pytest.ini")
tuple oc_chat.testing.package_walk._BOUNDARY_NAMES = ("pytest.ini", "pyproject.toml", "tox.ini", "setup.cfg")
dict oc_chat.testing.package_walk._SKIP_DIR_NAMES = {"__pycache__", "node_modules"}
tuple oc_chat.testing.package_walk._CWD_RESOLUTION_MESSAGE