Clone the repo and use a python installation to create a venv:
git clone git@github.com:RaRe-Technologies/smart_open.git
cd smart_open
python -m venv .venvActivate the venv to start working and install test deps + pre-commit hooks:
. .venv/bin/activate
make installRun the test suite:
make testRun linting (ruff, pydoclint, yamlfmt, etc.) — the same hooks CI runs:
make lintSee all targets:
make helpThat's it! When you're done, deactivate the venv:
deactivate