You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-notify@rai.apache.org by "milamberspace (via GitHub)" <gi...@apache.org> on 2026/07/31 09:14:28 UTC
Re: [PR] Seed site content: Pelican framework + 5 starter pages [rai-site]
milamberspace commented on code in PR #2:
URL: https://github.com/apache/rai-site/pull/2#discussion_r3689357464
##########
.pre-commit-config.yaml:
##########
@@ -0,0 +1,86 @@
+---
+# https://pre-commit.com/
+default_stages: [pre-commit, pre-push]
+default_language_version:
+ # force all unspecified Python hooks to run python3
+ python: python3
+minimum_pre_commit_version: "3.2.0"
+repos:
+ - repo: meta
+ hooks:
+ - id: identity
+ name: run identity
+ description: check your identity
+ - id: check-hooks-apply
+ name: run check-hooks-apply
+ description: check hooks apply to the repository
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v6.0.0
+ hooks:
+ # - id: check-added-large-files
+ - id: check-ast
+ - id: check-case-conflict
+ - id: check-executables-have-shebangs
+ - id: check-illegal-windows-names
+ - id: check-merge-conflict
+ - id: check-shebang-scripts-are-executable
+ - id: check-vcs-permalinks
+ - id: check-yaml
+ - id: detect-private-key
+ - id: end-of-file-fixer
+ - id: fix-byte-order-marker
+ - id: forbid-submodules
+ - id: mixed-line-ending
+ - id: trailing-whitespace
+ args: [--markdown-linebreak-ext=md]
+ exclude: (\.svg$)
+ - repo: https://github.com/igorshubovych/markdownlint-cli
+ rev: v0.46.0
+ hooks:
+ - id: markdownlint
+ name: run markdownlint
+ description: check Markdown files with markdownlint
+ args: [--config=.github/linters/.markdown-lint.yml]
Review Comment:
Good catch — these came from apache/tooling-docs originally (where this pre-commit setup is adapted from) but never got copied over into the repo. Follow-up PR: #5
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: site-notify-unsubscribe@rai.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org