Files
shap--shap/.pre-commit-config.yaml
pre-commit-ci[bot] 8c056b9098 [pre-commit.ci] pre-commit autoupdate (#5072)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.15 → v0.15.20](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.15...v0.15.20)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-07-13 16:38:32 +02:00

49 lines
1.7 KiB
YAML

ci:
autoupdate_schedule: monthly
exclude: '.*tree_shap_paper.*|.*user_studies.*|.*__snapshots__.*'
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.20
hooks:
- id: ruff
types_or: [python, pyi, jupyter]
args: [ --fix, --exit-non-zero-on-fix ]
- id: ruff-format
types_or: [python, pyi, jupyter]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: mixed-line-ending
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: tests/gpu_tree_tests.ipynb
- repo: https://github.com/stefsmeets/nbcheckorder/
rev: v0.3.0
hooks:
- id: nbcheckorder
# TODO: get passing on all notebooks
exclude: |
(?x)^(
notebooks/api_examples/plots/decision_plot.ipynb|
notebooks/api_examples/plots/heatmap.ipynb|
notebooks/api_examples/plots/text.ipynb|
notebooks/api_examples/plots/violin.ipynb|
notebooks/image_examples/image_captioning/Image.Captioning.using.Azure.Cognitive.Services.ipynb|
notebooks/image_examples/image_captioning/Image.Captioning.using.Open.Source.ipynb|
notebooks/image_examples/image_classification/Image.Multi.Class.ipynb|
notebooks/tabular_examples/model_agnostic/Census.income.classification.with.scikit-learn.ipynb|
notebooks/tabular_examples/model_agnostic/Squashing.Effect.ipynb|
notebooks/tabular_examples/tree_based_models/Perfomance.Comparison.ipynb|
notebooks/text_examples/sentiment_analysis/Emotion.classification.multiclass.example.ipynb|
notebooks/text_examples/sentiment_analysis/Keras.LSTM.for.IMDB.Sentiment.Classification.ipynb|
)$