Install dev dependencies
pip install -e ".[dev]"
Run tests
Unit tests
pytest
Integration tests
pytest -m integration
COM integration tests are opt-in and can crash some environments.
COM integration tests (opt-in)
$env:EXCELMINER_RUN_COM_TESTS='1' pytest -m integration
PowerShell example for enabling COM tests on Windows.
Formatting
blackisortflake8mypy
black src/excelminer tests isort --profile black src/excelminer tests
Pre-commit hooks are recommended for contributors.