MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / main

Function main

scripts/test.py:413–776  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

411
412
413def main(argv):
414
415 if github_workflow_unimportant():
416 return
417
418 build_isolation = None
419 cibw_name = None
420 cibw_pyodide = None
421 cibw_pyodide_version = None
422 cibw_skip_add_defaults = True
423 cibw_test_project = None
424 cibw_test_project_setjmp = False
425 commands = list()
426 env_extra = dict()
427 graal = False
428 implementations = 'r'
429 install_version = None
430 mupdf_sync = None
431 os_names = list()
432 system_packages = True if os.environ.get('GITHUB_ACTIONS') == 'true' else False
433 pybind = False
434 pyodide_build_version = None
435 pytest_options = ''
436 pytest_prefix = None
437 cibw_sdist = None
438 show_args = False
439 show_help = False
440 sync_paths = False
441 system_site_packages = False
442 swig = None
443 swig_quick = None
444 test_fitz = False
445 test_names = list()
446 test_timeout = None
447 valgrind = False
448 warnings = list()
449 venv = 2
450
451 options = os.environ.get('PYMUDF_SCRIPTS_TEST_options', '')
452 options = shlex.split(options)
453
454 # Parse args and update the above state. We do this before moving into a
455 # venv, partly so we can return errors immediately.
456 #
457 args = iter(options + argv[1:])
458 i = 0
459 while 1:
460 try:
461 arg = next(args)
462 except StopIteration:
463 arg = None
464 break
465
466 if 0:
467 pass
468
469 elif arg == '-a':
470 _name = next(args)

Callers 1

test.pyFile · 0.70

Calls 12

cibw_cpFunction · 0.85
cibuildwheelFunction · 0.85
build_pyodide_wheelFunction · 0.85
venv_inFunction · 0.70
runFunction · 0.70
venv_runFunction · 0.70
buildFunction · 0.70
testFunction · 0.70
logFunction · 0.50
getMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…