MCPcopy Index your code
hub / github.com/RustPython/RustPython / build_argparser

Function build_argparser

scripts/check_redundant_patches.py:15–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14
15def build_argparser() -> argparse.ArgumentParser:
16 parser = argparse.ArgumentParser(prog="check_redundant_patches")
17 parser.add_argument(
18 "patterns",
19 nargs="*",
20 default=[f"{TEST_DIR}/**/*.py"],
21 help="Glob patterns (e.g. foo/bar/**.py a/b/file.py)",
22 )
23
24 return parser
25
26
27def iter_files(patterns: list[str]):

Callers 1

Calls 1

add_argumentMethod · 0.45

Tested by

no test coverage detected