This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-actions.git
The following commit(s) were added to refs/heads/main by this push:
new 6b74fe3 Add lints
6b74fe3 is described below
commit 6b74fe3deea0e2bbaef11642a43dc91896b07a41
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Aug 22 15:18:07 2025 +0100
Add lints
---
.pre-commit-config.yaml | 35 +++++++++++++++++++++++++++++++++++
.yamllint.yaml | 4 ++++
2 files changed, 39 insertions(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..a0344bc
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,35 @@
+exclude: >
+ ^(
+ \.git/|
+ \.venv/
+ )
+
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v6.0.0
+ hooks:
+ - id: check-added-large-files
+ - id: check-case-conflict
+ - id: check-executables-have-shebangs
+ - id: check-illegal-windows-names
+ - id: check-json
+ - id: check-merge-conflict
+ - id: check-shebang-scripts-are-executable
+ - id: check-symlinks
+ - id: check-toml
+ - id: check-xml
+ - 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: name-tests-test
+ - id: trailing-whitespace
+
+ - repo: https://github.com/adrienverge/yamllint
+ rev: v1.37.1
+ hooks:
+ - id: yamllint
+ name: yamllint
+ files: ^.*\.ya?ml$
diff --git a/.yamllint.yaml b/.yamllint.yaml
new file mode 100644
index 0000000..d70a98a
--- /dev/null
+++ b/.yamllint.yaml
@@ -0,0 +1,4 @@
+extends: default
+
+rules:
+ line-length: disable
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]