3 - repo: https://github.com/pre-commit/pre-commit-hooks
6 - id: trailing-whitespace
8 - repo: https://github.com/prettier/prettier
13 - repo: https://github.com/jorisroovers/gitlint
18 - repo: https://github.com/jumanjihouse/pre-commit-hooks
25 # TODO: Switch to upstream hook when https://github.com/btford/write-good/pull/119 is merged.
28 description: Check docs for English prose with write-good
31 files: "\\.(rst|md|markdown|mdown|mkdn)$"
32 additional_dependencies: ["write-good"]
35 docs/jjb/lf-c-cpp-jobs.rst|
36 docs/jjb/lf-ci-jobs.rst|
37 docs/jjb/lf-macros.rst|
38 docs/jjb/lf-python-jobs.rst
41 # TODO: Switch to upstream hook when https://github.com/btford/write-good/pull/119 is merged.
42 # Files listed below break the following write-good rules:
43 # - adverb weakens meaning
44 # - is wordy or unneeded
46 # This allows us to place an exception need to pass the check without disabling all checks for
48 # In an ideal world write-good would give us an override for each individual instance of a
49 # violation but until then this gives us a close enough approach.
51 name: write-good --no-adverb --no-tooWordy
52 description: Check docs for English prose with write-good
53 entry: write-good --no-adverb --no-tooWordy
55 files: docs/jjb/lf-ci-jobs.rst
56 additional_dependencies: ["write-good"]
58 # TODO: Switch to upstream hook when https://github.com/btford/write-good/pull/119 is merged.
59 # Files listed below break the following write-good rules:
60 # - is wordy or unneeded
62 # This allows us to place an exception need to pass the check without disabling all checks for
64 # In an ideal world write-good would give us an override for each individual instance of a
65 # violation but until then this gives us a close enough approach.
67 name: write-good --no-tooWordy
68 description: Check docs for English prose with write-good
69 entry: write-good --no-tooWordy
73 docs/jjb/lf-c-cpp-jobs.rst|
74 docs/jjb/lf-macros.rst|
75 docs/jjb/lf-python-jobs.rst
77 additional_dependencies: ["write-good"]