Skip to content

Commit

Permalink
Remove outdated YAML example (#204)
Browse files Browse the repository at this point in the history
* Remove outdated YAML example

* Wording
  • Loading branch information
hugovk committed May 11, 2024
1 parent b8cd91b commit 222c2a9
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ See :gh:`pre-commit/pre-commit` for instructions, sample ``.pre-commit-config.ya
.. code-block:: yaml
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "1.0.0"
rev: "2.0.0"
hooks:
- id: pyproject-fmt
Expand All @@ -34,17 +34,9 @@ Calculating max supported Python version
----------------------------------------

This tool will automatically generate the ``Programming Language :: Python :: 3.X`` classifiers for you. To do so it
needs to know what is the range of Python interpreter versions you support. The lower bound can be deduced by looking
at the ``requires-python`` key in the ``pyproject.toml`` configuration file. For the upper bound by default will
assume the latest stable release but can be changed via CLI flag or config:

.. code-block:: yaml
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.0.0"
hooks:
- id: pyproject-fmt
needs to know the range of Python interpreter versions you support. The lower bound can be deduced by looking
at the ``requires-python`` key in the ``pyproject.toml`` configuration file. The upper bound, by default, will
assume the latest stable release but can be changed via CLI flag or config.

Command line interface
----------------------
Expand Down

0 comments on commit 222c2a9

Please sign in to comment.