Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.26 KB

CONTRIBUTING.md

File metadata and controls

44 lines (36 loc) · 1.26 KB

Contributing to d3rlpy

Any kind of contribution to d3rlpy would be highly appreciated!

Contribution examples:

  • Thumbing up to good issues or pull requests 👍
  • Opening issues about questions, bugs, installation problems, feature requests, algorithm requests etc.
  • Sending pull requests

Development Guide

build from source

$ git clone [email protected]:takuseno/d3rlpy
$ cd d3rlpy
$ pip install Cython numpy # if not installed
$ pip install -e .

Before making your nice PR, please run the follwing commands to inspect code qualities.

testing

$ pip install pytest-cov onnxruntime stable-baselines3 # dependencies used in unit tests
$ pip install git+https://github.com/takuseno/d4rl-pybullet
$ ./scripts/test

coding style

This repository is styled with black formatter (partially styled with yapf). Also, isort is used to format package imports.

$ pip install black yapf # formatters
$ ./scripts/format

linter

This repository is fully type-annotated and checked by mypy. Also, pylint checks code consistency.

$ pip install mypy pylint # linters
$ ./scripts/lint