Any kind of contribution to ChainerRL 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
If you could kindly send a PR to ChainerRL, please make sure all the tests successfully pass.
When contributing to ChainerRL, we highly recommend installing the additional set of developer requirements, which may be necessary for testing:
pip install -r requirements-dev.txt
To test chainerrl modules, install and run pytest
(after installing pytest
). Pass -m "not gpu"
to skip tests that require gpu. E.g.
$ pytest -m "not gpu"
To test examples, run test_examples.sh [gpu device id]
. -1
would run examples with only cpu.
We use PEP8. To check your code, use autopep8
and flake8
packages.
$ pip install autopep8 flake8
$ autopep8 --diff path/to/your/code.py
$ flake8 path/to/your/code.py