diff --git a/docs/conf.py b/docs/conf.py index 697e1ece..f05d2fa0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -36,7 +36,11 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ["myst_parser", "sphinxcontrib.programoutput", "sphinxcontrib.apidoc"] +extensions = [ + "myst_parser", + "sphinxcontrib.apidoc", + "sphinxcontrib.programoutput", +] # -- Options for HTML output ------------------------------------------------- diff --git a/docs/requirements.in b/docs/requirements.in index 895ab94b..b772fde2 100644 --- a/docs/requirements.in +++ b/docs/requirements.in @@ -2,5 +2,5 @@ furo myst-parser setuptools-scm sphinx -sphinxcontrib-programoutput sphinxcontrib-apidoc +sphinxcontrib-programoutput diff --git a/tests/test_cli_compile.py b/tests/test_cli_compile.py index eba8cb05..fa5f6862 100644 --- a/tests/test_cli_compile.py +++ b/tests/test_cli_compile.py @@ -456,7 +456,7 @@ def test_run_as_module_compile(): # Should have run pip-compile successfully. assert result.stdout.startswith(b"Usage:") - assert b"Compiles requirements.txt from requirements.in" in result.stdout + assert b"Compile requirements.txt from source files" in result.stdout def test_editable_package(pip_conf, runner):