Skip to content

Commit

Permalink
Sort Sphinx extensions
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
  • Loading branch information
chrysle and webknjaz committed Feb 25, 2024
1 parent 02d9041 commit cb783cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 -------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ furo
myst-parser
setuptools-scm
sphinx
sphinxcontrib-programoutput
sphinxcontrib-apidoc
sphinxcontrib-programoutput
2 changes: 1 addition & 1 deletion tests/test_cli_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit cb783cc

Please sign in to comment.