Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.

---
# https://pre-commit.com/#installation
# https://prek.j178.dev/
default_stages: [pre-commit, pre-push]
default_language_version:
python: python3
Expand All @@ -42,11 +42,11 @@ repos:
hooks:
- id: npm-install
name: Install Zeppelin Node dependencies
description: Ensures local node_modules match the lockfile
entry: bash -c "cd zeppelin && npm install"
language: system
pass_filenames: false
files: ^zeppelin/(package\.json|package-lock\.json)$
description: Ensures local node_modules match the lockfile
stages: [manual]
- id: prettier
name: run prettier
Expand Down Expand Up @@ -495,7 +495,7 @@ repos:
name: run trailing-whitespace
description: trims trailing whitespace
args: [--markdown-linebreak-ext=md]
exclude: ^docs-overrides/main\.html$|\.Rd$
exclude: \.Rd$
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.48.0
hooks:
Expand All @@ -509,6 +509,10 @@ repos:
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.2
hooks:
- id: check-citation-file-format
name: run check-citation-file-format
description: validate citation file format
files: ^CITATION\.cff$
- id: check-dependabot
name: validate dependabot.yml
description: ensures the dependabot config file is valid
Expand Down Expand Up @@ -589,10 +593,3 @@ repos:
description: checkmake is a linter for Makefiles
files: ^python/sedona/doc/Makefile$
args: ['--config=python/sedona/doc/checkmake.ini']
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.2
hooks:
- id: check-citation-file-format
name: run check-citation-file-format
description: validate citation file format
files: ^CITATION\.cff$
Loading