1
0
Fork 0

Merging upstream version 0.5.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-08 07:42:18 +01:00
parent c8532840ce
commit 6fdc00b917
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
6 changed files with 83 additions and 8 deletions

View file

@ -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