Style and Formatting¶
Code Style¶
black
: Formatting Python coderuff
: Formatting and sortingimport
statementsshellcheck
: Linting shell scriptsshfmt
: Formatting shell scriptsstatix
: Linting nix filesnixpkgs-fmt
: Formatting nix files
Tip
If you use nix-shell
, all of these are already setup for you and ready to use, and you don't need to do anything to install these tools.
We use numpydoc as our standard format for docstrings.
Last update:
December 28, 2022