Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 506 Bytes

CONTRIBUTING.md

File metadata and controls

31 lines (22 loc) · 506 Bytes

Contributing

Setting up for development

  • Create and activate a new Python 3 virtual environment
  • pip install -e '.[dev]'
  • (Optional but recommended) Install the pre-commit hooks, which will format and lint your git staged files:
# The pre-commit CLI was installed above
pre-commit install
  • To run tests:
pytest
  • To run syntax checks:
tox -e lint
  • (Optional) To run tests on all supported Python 3 versions (must have each interpreter installed):
tox