Skip to content

Commit d8af0a6

Browse files
Merge pull request #89 from a-musing-moose/0_1_6
Cutting a 0.1.6 release
2 parents e4f1cc9 + e7c48f0 commit d8af0a6

4 files changed

Lines changed: 21 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "django-typst"
3-
version = "0.1.5"
3+
version = "0.1.6"
44
description = "A Django template engine powered by Typst"
55
readme = "README.md"
66
authors = [

src/django_typst/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class PdfStandard(enum.Enum):
2323
PDF_A_4 = "a-4"
2424
PDF_A_4E = "a-4e"
2525
PDF_A_4F = "a-4f"
26-
PDF_UA_1 = "ua-1"
26+
PDF_UA_1 = "ua-1"
2727

2828

2929
@dataclasses.dataclass

src/tests/django_typst/test_config.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,23 @@ def test_can_tell_typst_to_ignore_system_fonts():
4444
pytest.param("1.7", config.PdfStandard.PDF_1_7, id="PDF Revision 1.7"),
4545
pytest.param("a-2b", config.PdfStandard.PDF_A_2B, id="PDF Revision a-2b"),
4646
pytest.param("a-3b", config.PdfStandard.PDF_A_3B, id="PDF Revision a-3b"),
47+
pytest.param("1.4", config.PdfStandard.PDF_1_4, id="PDF Revision 1.4"),
48+
pytest.param("1.5", config.PdfStandard.PDF_1_5, id="PDF Revision 1.5"),
49+
pytest.param("1.6", config.PdfStandard.PDF_1_6, id="PDF Revision 1.6"),
50+
pytest.param("1.7", config.PdfStandard.PDF_1_7, id="PDF Revision 1.7"),
51+
pytest.param("2.0", config.PdfStandard.PDF_2_0, id="PDF Revision 2.0"),
52+
pytest.param("a-1a", config.PdfStandard.PDF_A_1A, id="PDF Revision a-1a"),
53+
pytest.param("a-1b", config.PdfStandard.PDF_A_1B, id="PDF Revision a-1b"),
54+
pytest.param("a-2a", config.PdfStandard.PDF_A_2A, id="PDF Revision a-2a"),
55+
pytest.param("a-2b", config.PdfStandard.PDF_A_2B, id="PDF Revision a-2b"),
56+
pytest.param("a-2u", config.PdfStandard.PDF_A_2U, id="PDF Revision a-2u"),
57+
pytest.param("a-3a", config.PdfStandard.PDF_A_3A, id="PDF Revision a-3a"),
58+
pytest.param("a-3b", config.PdfStandard.PDF_A_3B, id="PDF Revision a-3b"),
59+
pytest.param("a-3u", config.PdfStandard.PDF_A_3U, id="PDF Revision a-3u"),
60+
pytest.param("a-4", config.PdfStandard.PDF_A_4, id="PDF Revision a-4"),
61+
pytest.param("a-4e", config.PdfStandard.PDF_A_4E, id="PDF Revision a-4e"),
62+
pytest.param("a-4f", config.PdfStandard.PDF_A_4F, id="PDF Revision a-4f"),
63+
pytest.param("ua-1", config.PdfStandard.PDF_UA_1, id="PDF Revision ua-1"),
4764
],
4865
)
4966
def test_can_specify_different_target_pdf_revisions(standard_name, standard):

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)