Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.31 KB

CONTRIBUTING.md

File metadata and controls

65 lines (45 loc) · 1.31 KB

Contributing

Warning

This guide is a work in progress and may not be complete.

This is a basic contributing guide and is a work in progress.

Workflow

  1. Fork the repository.
  2. Create a branch in your fork!
  3. Make your changes, see Setup.
  4. Test your changes, see Testing.
  5. Commit and push your changes.
  6. Create a PR to this repository.
  7. Verify all the tests pass, fix the issues.
  8. Make sure to keep your branch up-to-date.

If you need help with anything, let us know...

Setup

Clone the repository, change into the directory and run:

python -m pip install -U pip
python -m pip install -Ur requirements.txt

Prettier is used to format yaml, json and md.

npm install -g prettier

Testing

First Setup the project, then run:

pytest -v

Building

Build the project locally:

python -m pip install -U pip
python -m pip install -Ur requirements.txt
python -m build

Install the built package:

python -m pip install dist/zipline_cli-0.0.1-py3-none-any.whl

The default version is 0.0.1 unless you set the environment variable GITHUB_REF_NAME.