How this book is written#
Jupyterbook#
The book is written using Jupyterbook: https://jupyterbook.org/.
The source files are written in the myst format (https://myst-nb.readthedocs.io/) which is a plain text format for Jupyter notebooks. This ensures:
That the notebooks are version controlled effectively.
The output of the code is an actual computation.
Continuous integration#
The source files of the book are hosted on GitHub drvinceknight/pfm and any contribution is tested using GitHub Actions which runs a full set of tests.
Proselint#
The proselint http://proselint.com tool is used to check various common suggestions about the prose in text.
Alex#
The alex get-alex/alex tool is used to catch insensitive and/or inconsiderate language.
This does not ensure that all writing could not be made more inclusive and suggestions are actively encouraged in this domain.
Spell check#
The aspell http://aspell.net spell checker is used to check the spelling of the text.
Black#
All code in the book is checked using the black code formatter
psf/black this ensures that not only PEP8 is followed but
that a specific consistent formatting convention is used.
Isort#
All imports are sorted using the isort
PyCQA/isort tool. Similarly to Black this ensures
that all code follows a given convention.