Skip to content

Commit

Permalink
Fix example docs (#3421)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbernat authored Oct 22, 2024
1 parent e9cb93a commit 5916cc9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ repos:
rev: "2.4.3"
hooks:
- id: pyproject-fmt
- repo: https://github.com/abravalheri/validate-pyproject
rev: "v0.21"
hooks:
- id: validate-pyproject
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.0"
hooks:
Expand Down
1 change: 1 addition & 0 deletions docs/changelog/3240.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix bad example in documentation for dependency groups - by :user:`gaborbernat`.
4 changes: 2 additions & 2 deletions docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -839,13 +839,13 @@ Python run

.. code-block:: toml
[dependency_groups]
[dependency-groups]
test = [
"pytest>=8",
]
[tool.tox.env_run_base]
dependency-groups = [
dependency_groups = [
"test",
]
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ and `devpi <https://www.devpi.net>`_).
:target: https://pypistats.org/packages/tox
:alt: PyPI - Downloads
.. image:: https://img.shields.io/pypi/l/tox?style=flat-square
:target: https://opensource.org/blog/license/mit
:target: https://opensource.org/license/mit
:alt: PyPI - License
.. image:: https://img.shields.io/github/issues/tox-dev/tox?style=flat-square
:target: https://github.com/tox-dev/tox/issues
Expand Down

0 comments on commit 5916cc9

Please sign in to comment.