Add black to docs and CONTRIBUTING

This commit is contained in:
Quinn Casey
2022-02-27 12:35:26 -08:00
parent a14f180524
commit 5f4b9fcbca
2 changed files with 3 additions and 2 deletions

View File

@@ -107,6 +107,7 @@ Testing and code style:
* Run ``pytest`` in the src/ directory to execute all tests. This also generates a HTML coverage
report. When runnings test, paperless.conf is loaded as well. However: the tests rely on the default
configuration. This is not ideal. But for now, make sure no settings except for DEBUG are overridden when testing.
* Run ``black`` to format your code.
* Run ``pycodestyle`` to test your code for issues with the configured code style settings.
.. note::