This repository is part of the Dask projects. General development guidelines including where to ask for help, a layout of repositories, testing practices, and documentation and style standards are available at the Dask developer guidelines in the main documentation.
After setting up an environment as described in the Dask developer guidelines you can clone this repository with git:
git clone email@example.com:dask/dask-jobqueue.git
and install it from source:
cd dask-jobqueue python setup.py install
When you’re done making changes, check that your changes pass flake8 checks and use black formatting:
flake8 dask_jobqueue black dask_jobqueue
To get flake8 and black, just pip install them. You can also use pre-commit to add them as pre-commit hooks.
pytest dask-jobqueue --verbose
Test with Job scheduler¶
You can then use the same commands as Travis CI does for your local testing, for example with pbs:
source ci/pbs.sh jobqueue_before_install jobqueue_install jobqueue_script