Skip to content

Running Tests and Checks

Navigate to the MarkItDown package:

cd packages/markitdown

Install hatch in your environment and run tests:

pip install hatch  # Other ways of installing hatch: https://hatch.pypa.io/dev/install/
hatch shell
hatch test

Alternative: Devcontainer

Use the Devcontainer which has all the dependencies installed:

# Reopen the project in Devcontainer and run:
hatch test

Pre-commit checks

Run pre-commit checks before submitting a PR:

pre-commit run --all-files

Need documentation like this for your own product?

This site was built by Sonicar Tech LLC — we help SaaS, B2B, Enterprise, FinTech, and AI companies launch professional, docs-as-code documentation 60% faster and cheaper than building an in-house team, with first drafts delivered in 1 week.

Visit sonicar.tech