Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 696 Bytes

DEVELOPING.md

File metadata and controls

33 lines (22 loc) · 696 Bytes

Development setup

The easiest way to get set up for development is to install Python (3.8, 3.9, 3.10, or 3.11) and poetry, and then run the following from the top-level project directory:

  cd python
  poetry install
  poetry shell

Development commands

Following are some helpful commands for development:

  • To run the code formatter:

      black .
  • To run lint checks:

      pylint $(git ls-files '*.py')
  • To run tests:

      pytest

Before committing and opening a PR, use the above commands to run the checks locally. This saves CI hours and ensures you only commit clean code.