Skip to content

Commit

Permalink
Merge pull request #6340 from hugovk/sphinx-lint
Browse files Browse the repository at this point in the history
Add Sphinx Lint to pre-commit and fix RST bug
  • Loading branch information
radarhere committed May 29, 2022
2 parents d78042d + f90caab commit 753da81
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Expand Up @@ -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: quarterly
autoupdate_schedule: monthly
3 changes: 1 addition & 2 deletions winbuild/build.rst
Expand Up @@ -42,9 +42,8 @@ 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
path, used to store generated build scripts and compiled libraries.
**Warning:** This directory is wiped when ``build_prepare.py`` is run.
Expand Down

0 comments on commit 753da81

Please sign in to comment.