Any kind of contribution to PFRL 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 PFRL, please make sure all the tests successfully pass.
To test pfrl modules, install and run pytest
. Pass -m "not gpu"
to skip tests that require gpu. E.g.
$ pip install pytest
$ 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 the black
, isort
, and flake8
packages.
$ pip install git+git://github.com/psf/black.git flake8 mypy isort
$ black path/to/your/code.py
$ flake8 path/to/your/code.py
$ isort path/to/your/code.py
$ mypy path/to/your/code.py