From 641ca0a179ef6262b0172c50db5c611f10221349 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sat, 11 May 2024 22:11:02 +0300 Subject: [PATCH 1/2] Remove outdated YAML example --- docs/index.rst | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index d00dd0c..c1ab382 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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 @@ -36,15 +36,7 @@ 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 - +assume the latest stable release but can be changed via CLI flag or config. Command line interface ---------------------- From 2cc666660f33a8ebd21d3857cd700d8f719d7791 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sat, 11 May 2024 22:12:00 +0300 Subject: [PATCH 2/2] Wording --- docs/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index c1ab382..4944d71 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -34,8 +34,8 @@ 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 +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