2 # SPDX-FileCopyrightText: 2017 The Linux Foundation
3 # SPDX-License-Identifier: EPL-1.0
5 - repo: https://github.com/pre-commit/pre-commit-hooks
8 - id: trailing-whitespace
9 - id: no-commit-to-branch
14 - repo: https://github.com/pre-commit/mirrors-prettier
20 - repo: https://github.com/jorisroovers/gitlint
25 - repo: https://github.com/adrienverge/yamllint.git
30 - repo: https://github.com/jumanjihouse/pre-commit-hooks
35 - repo: https://github.com/btford/write-good
41 docs/jjb/lf-c-cpp-jobs.rst|
42 docs/jjb/lf-ci-jobs.rst|
43 docs/jjb/lf-macros.rst|
44 docs/jjb/lf-python-jobs.rst
47 - repo: https://github.com/btford/write-good
50 # Files listed below break the following write-good rules:
51 # - adverb weakens meaning
52 # - is wordy or unneeded
54 # This allows us to place an exception needed to pass the check without
55 # disabling all checks for the whole file. In an ideal world write-good
56 # would give us an override for each individual instance of a violation
57 # but until then this gives us a close enough approach.
59 name: "write-good --no-adverb --no-tooWordy"
60 args: ["--no-adverb", "--no-tooWordy"]
61 files: docs/jjb/lf-ci-jobs.rst
63 - repo: https://github.com/btford/write-good
66 # Files listed below break the following write-good rules:
67 # - is wordy or unneeded
69 # This allows us to place an exception needed to pass the check without
70 # disabling all checks for the whole file. In an ideal world write-good
71 # would give us an override for each individual instance of a violation
72 # but until then this gives us a close enough approach.
74 name: "write-good --no-tooWordy"
75 args: ["--no-tooWordy"]
78 docs/jjb/lf-c-cpp-jobs.rst|
79 docs/jjb/lf-macros.rst|
80 docs/jjb/lf-python-jobs.rst
83 - repo: https://github.com/fsfe/reuse-tool
84 rev: bafd6d7683dec1189d7a477489f6b8770bffc0dd # frozen: v3.0.2