Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 553 Bytes

CONTRIBUTING.md

File metadata and controls

40 lines (28 loc) · 553 Bytes

Quickstart

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 .venv

Activate the venv to start working and install test deps + pre-commit hooks:

. .venv/bin/activate
make install

Run the test suite:

make test

Run linting (ruff, pydoclint, yamlfmt, etc.) — the same hooks CI runs:

make lint

See all targets:

make help

That's it! When you're done, deactivate the venv:

deactivate