From d95a2d39782082ffdda983f1dfe14cdf2537776d Mon Sep 17 00:00:00 2001 From: David Manthey Date: Fri, 18 Apr 2025 09:02:14 -0400 Subject: [PATCH] docs: Fix a typo Update pre-commit hooks --- .pre-commit-config.yaml | 6 +++--- examples/annotations/index.pug | 2 +- examples/measure/index.pug | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d23037018f..141b59e805 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,16 +46,16 @@ repos: files: README.rst name: rst-linter of README.rst - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell args: - --ignore-words-list - "hist,indext,pixelx,thex,hight,reenable,lastr,xdescribe,afterall,countr,curvelinear" - --skip - - examples/sld/index.pug,package-lock.json,examples/reprojection/proj.json,website/themes/agency/source/vendor/jquery/jquery.min.js,examples/reprojection/capitals.json + - examples/sld/index.pug,package-lock.json,examples/reprojection/proj.json,website/themes/agency/source/vendor/jquery/jquery.min.js,examples/reprojection/capitals.json,website/themes/agency/source/vendor/jquery/jquery.js - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v9.18.0 + rev: v9.22.0 hooks: - id: commitlint language_version: "22.10.0" diff --git a/examples/annotations/index.pug b/examples/annotations/index.pug index e07cb3882b..b99d5efc6f 100644 --- a/examples/annotations/index.pug +++ b/examples/annotations/index.pug @@ -187,7 +187,7 @@ block append mainContent .form-group(annotation-types='all', title='This is the x, y shadowOffset of the shadow in pixels from its default position before rotation. Example: "5, -4"') label(for='edit-shadowOffset') Shadow Offset input#edit-shadowOffset(option='shadowOffset', format='coordinate2', optiontype='label') - .form-group(annotation-types='all', title='Enable to rotate the shadow absed on the label\'s rotation.') + .form-group(annotation-types='all', title='Enable to rotate the shadow based on the label\'s rotation.') label(for='edit-shadowRotate') Rotate Shadow select#edit-shadowRotate(option='shadowRotate', format='boolean', optiontype='label') option(value='false') No diff --git a/examples/measure/index.pug b/examples/measure/index.pug index 19e6625164..32f66bd4fe 100644 --- a/examples/measure/index.pug +++ b/examples/measure/index.pug @@ -191,7 +191,7 @@ block append mainContent .form-group(annotation-types='all', title='This is the x, y shadowOffset of the shadow in pixels from its default position before rotation. Example: "5, -4"') label(for='edit-shadowOffset') Shadow Offset input#edit-shadowOffset(option='shadowOffset', format='coordinate2', optiontype='label') - .form-group(annotation-types='all', title='Enable to rotate the shadow absed on the label\'s rotation.') + .form-group(annotation-types='all', title='Enable to rotate the shadow based on the label\'s rotation.') label(for='edit-shadowRotate') Rotate Shadow select#edit-shadowRotate(option='shadowRotate', format='boolean', optiontype='label') option(value='false') No