Contributing
Running Tests & Checks
How to run MarkItDown's test suite and pre-commit checks locally, with hatch, or inside a Devcontainer.
Navigate to the MarkItDown package
cd packages/markitdownInstall hatch and run the tests
pip install hatch # Other ways of installing hatch: https://hatch.pypa.io/dev/install/
hatch shell
hatch testAlternative: Devcontainer
Use the Devcontainer which has all the dependencies installed:
# Reopen the project in Devcontainer and run:
hatch test