Contributing

Setting up a development environment

  1. Fork the basicsynbio repository.

  2. Clone your fork:

    git clone https://github.com/username/basicsynbio.git
    
  3. cd into the directory.

  4. Using a virtual environment running Python 3.8 or greater install the dependencies:

    pip install -r requirements.txt
    
  5. Install the package in editable mode:

    pip install -e .
    
  6. Confirm all test pass:

    pytest [--runslow]
    

Making changes

Steps

  1. set the upstream repository:

    git remote add upstream https://github.com/LondonBiofoundry/basicsynbio.git
    
  2. Pull the latest changes to origin/master:

    git pull upstream master
    
  3. Create a new branch for your development:

    git checkout -b dev/foobar
    
  4. Make the development then stage and commit:

    git add .
    git commit -m "make this desirable development to basicsynbio"
    
  5. Push the development back to GitHub:

    git push origin dev/foobar
    
  6. Go to GitHub and create a new Pull Request.

Guidelines for changes

General Guidelines

Guidelines for docstrings