From 8aa1a9d291b70185146fb5bc9d202074a6eea301 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 29 May 2022 13:57:19 +0300 Subject: [PATCH 1/4] Autoupdate pre-commit monthly --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 353dd0c1911..d975ccf0446 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,4 +43,4 @@ repos: - id: check-yaml ci: - autoupdate_schedule: quarterly + autoupdate_schedule: monthly From a5ceb746b04f55b61b3483d3282de836c523f03e Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 29 May 2022 19:10:35 +0300 Subject: [PATCH 2/4] Add sphinx-lint to pre-commit --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d975ccf0446..1837f5736f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,5 +42,10 @@ repos: - id: check-merge-conflict - id: check-yaml + - repo: https://github.com/sphinx-contrib/sphinx-lint + rev: v0.6 + hooks: + - id: sphinx-lint + ci: autoupdate_schedule: monthly From 880dee7e1d1f0b856ae6ec32649fe35a70586ce9 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 29 May 2022 19:11:21 +0300 Subject: [PATCH 3/4] Fix missing inline literal (escaped) space after literal (missing-space-after-literal) --- winbuild/build.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winbuild/build.rst b/winbuild/build.rst index 661c5a5ecea..e8dc627715c 100644 --- a/winbuild/build.rst +++ b/winbuild/build.rst @@ -42,7 +42,7 @@ behaviour of ``build_prepare.py``: If ``PYTHON`` is unset, the version of Python used to run ``build_prepare.py`` will be used. If only ``PYTHON`` is set, ``EXECUTABLE`` defaults to ``python.exe``. -* ``ARCHITECTURE`` is used to select a ``x86``, ``x64`` or ``ARM64``build. +* ``ARCHITECTURE`` is used to select a ``x86``, ``x64`` or ``ARM64`` build. By default, uses same architecture as the version of Python used to run ``build_prepare.py``. is used. * ``PILLOW_BUILD`` can be used to override the ``winbuild\build`` directory From f90caabdbc66f81b8b90700eca0a535ebdda21b7 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 29 May 2022 19:23:39 +0300 Subject: [PATCH 4/4] Remove sentence fragment --- winbuild/build.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/winbuild/build.rst b/winbuild/build.rst index e8dc627715c..af7c558cf67 100644 --- a/winbuild/build.rst +++ b/winbuild/build.rst @@ -44,7 +44,6 @@ behaviour of ``build_prepare.py``: ``EXECUTABLE`` defaults to ``python.exe``. * ``ARCHITECTURE`` is used to select a ``x86``, ``x64`` or ``ARM64`` build. By default, uses same architecture as the version of Python used to run ``build_prepare.py``. - is used. * ``PILLOW_BUILD`` can be used to override the ``winbuild\build`` directory path, used to store generated build scripts and compiled libraries. **Warning:** This directory is wiped when ``build_prepare.py`` is run.