diff --git a/.github/workflows/build-djlint.yml b/.github/workflows/build-djlint.yml index c3493af1fb5..0b4cd647b55 100644 --- a/.github/workflows/build-djlint.yml +++ b/.github/workflows/build-djlint.yml @@ -87,7 +87,7 @@ jobs: # 1.45.0 (test_docs.py, test_readme.py, and two tests in # test_cli.py) that check the docs' examples against the real # linter/formatter/CLI output. - CIBW_TEST_SOURCES: tests pytest.toml pyproject.toml docs README.md src/djlint/rules.yaml + CIBW_TEST_SOURCES: tests pytest.toml pyproject.toml docs README.md src/djlint/rules.yaml src/djlint/settings.py # Upstream never tests its wheels; run the suite its CI runs. # The import assert catches a silently-uncompiled (pure-Python) wheel. # @@ -104,6 +104,12 @@ jobs: # itself only runs this test on Python 3.10 and 3.15 (see # .github/workflows/ci.yml's `pytest` matrix), so the whole 3.11-3.14 # range where this reproduces is a gap in their own coverage. + # + # test_the_schema_covers_every_configuration_option reads + # src/djlint/settings.py's source directly (Path("src/djlint/ + # settings.py").read_text()) to diff its option list against the + # published JSON schema - same shape as rules.yaml above, just a + # missing CIBW_TEST_SOURCES entry rather than a real test bug. CIBW_TEST_COMMAND: >- python -c "import djlint; assert djlint.__file__.endswith('.so'), djlint.__file__" && python -m pytest tests --deselect tests/test_djlint/test_djlint.py::test_closed_pipe_is_not_a_crash diff --git a/docs/packages/djlint.yaml b/docs/packages/djlint.yaml index 074b8dd55c1..a1ca746912c 100644 --- a/docs/packages/djlint.yaml +++ b/docs/packages/djlint.yaml @@ -92,3 +92,4 @@ versions: - filename: djlint-1.46.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl sha256: 388b1f5ac2e3b2536c708d70a39c0db8dfe52ef7449af7f2b3ff022b842ad0c2 requires-python: '>=3.10' +- version: 1.46.2