Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove outdated YAML example #204

Merged
merged 2 commits into from
May 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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