summaryrefslogtreecommitdiffstats
path: root/docs/contribute.rst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-10-15 13:55:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-10-15 13:55:48 +0000
commit38177ba9a3df33be30ba05b07b70000ad5632ce1 (patch)
treef7975e163282ca7930f568adc078b9e115dc59ac /docs/contribute.rst
parentAdding upstream version 0.3.0. (diff)
downloadpydyf-38177ba9a3df33be30ba05b07b70000ad5632ce1.tar.xz
pydyf-38177ba9a3df33be30ba05b07b70000ad5632ce1.zip
Adding upstream version 0.5.0.upstream/0.5.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/contribute.rst')
-rw-r--r--docs/contribute.rst10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/contribute.rst b/docs/contribute.rst
index adf9024..f94a3d6 100644
--- a/docs/contribute.rst
+++ b/docs/contribute.rst
@@ -46,12 +46,20 @@ the pytest_ library.
Launching tests require to have Ghostscript_ installed and available in
``PATH``.
-You can launch tests (with code coverage and lint) using the following command::
+You can launch tests using the following command::
venv/bin/pytest
+WeasyPrint also uses isort_ to check imports and flake8_ to check the coding
+style::
+
+ venv/bin/python -m isort . --check --diff
+ venv/bin/python -m flake8
+
.. _pytest: https://docs.pytest.org/
.. _Ghostscript: https://www.ghostscript.com/
+.. _isort: https://pycqa.github.io/isort/
+.. _flake8: https://flake8.pycqa.org/
Documentation