For more information, see https://docs.dask.org/en/latest/develop.html#contributing-to-code
Distributed conforms with the flake8 and black styles. To make sure your code conforms with these styles, run
$ pip install black flake8
$ cd path/to/distributed
$ black distributed
$ flake8 distributed
Dask Distributed roughly follows the numpydoc standard. More information is available at https://docs.dask.org/en/latest/develop.html#docstrings.
Dask employs extensive unit tests to ensure correctness of code both for today and for the future. Test coverage is expected for all code contributions. More detail is at https://docs.dask.org/en/latest/develop.html#test