Skip to content

Commit 416a87e

Browse files
committed
python/linting: Applications use .python-version. pre-commit.ci doesn't run pip-compile.
1 parent 8624c8c commit 416a87e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

docs/python/linting.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ To avoid pushing commits that fail formatting or linting checks, new projects sh
7676

7777
.. note::
7878

79-
Applications set the correct Python version in the `default_language_version <https://pre-commit.com/#top_level-default_language_version>`__ section. Otherwise, pre-commit.ci (or the ``pre-commit`` command locally) can use the incorrect Python version for the ``pip-compile`` hook.
80-
8179
pre-commit.ci `disallows network connections <https://github.com/pre-commit-ci/issues/issues/55>`__. As such, the ``pip-compile`` hook is configured to be skipped in the ``ci`` section, and is run by the :ref:`lint.yml workflow<linting-ci>`, instead.
8280

8381
.. note::

0 commit comments

Comments
 (0)