Skip to content

Commit 5916cc9

Browse files
authored
Fix example docs (#3421)
1 parent e9cb93a commit 5916cc9

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.pre-commit-config.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ repos:
1818
rev: "2.4.3"
1919
hooks:
2020
- id: pyproject-fmt
21+
- repo: https://github.com/abravalheri/validate-pyproject
22+
rev: "v0.21"
23+
hooks:
24+
- id: validate-pyproject
2125
- repo: https://github.com/astral-sh/ruff-pre-commit
2226
rev: "v0.7.0"
2327
hooks:

docs/changelog/3240.doc.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix bad example in documentation for dependency groups - by :user:`gaborbernat`.

docs/config.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -839,13 +839,13 @@ Python run
839839

840840
.. code-block:: toml
841841
842-
[dependency_groups]
842+
[dependency-groups]
843843
test = [
844844
"pytest>=8",
845845
]
846846
847847
[tool.tox.env_run_base]
848-
dependency-groups = [
848+
dependency_groups = [
849849
"test",
850850
]
851851

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ and `devpi <https://www.devpi.net>`_).
2222
:target: https://pypistats.org/packages/tox
2323
:alt: PyPI - Downloads
2424
.. image:: https://img.shields.io/pypi/l/tox?style=flat-square
25-
:target: https://opensource.org/blog/license/mit
25+
:target: https://opensource.org/license/mit
2626
:alt: PyPI - License
2727
.. image:: https://img.shields.io/github/issues/tox-dev/tox?style=flat-square
2828
:target: https://github.com/tox-dev/tox/issues

0 commit comments

Comments
 (0)