+
+ - repo: https://github.com/btford/write-good
+ rev: v1.0.4
+ hooks:
+ - id: write-good
+ exclude: >
+ (?x)^(
+ docs/jjb/lf-c-cpp-jobs.rst|
+ docs/jjb/lf-ci-jobs.rst|
+ docs/jjb/lf-macros.rst|
+ docs/jjb/lf-python-jobs.rst
+ )$
+
+ - repo: https://github.com/btford/write-good
+ rev: v1.0.4
+ hooks:
+ # Files listed below break the following write-good rules:
+ # - adverb weakens meaning
+ # - is wordy or unneeded
+ #
+ # This allows us to place an exception need to pass the check without disabling all checks for
+ # the whole file.
+ # In an ideal world write-good would give us an override for each individual instance of a
+ # violation but until then this gives us a close enough approach.
+ - id: write-good
+ name: "write-good --no-adverb --no-tooWordy"
+ args: ["--no-adverb", "--no-tooWordy"]
+ files: docs/jjb/lf-ci-jobs.rst
+
+ - repo: https://github.com/btford/write-good
+ rev: v1.0.4
+ hooks:
+ # Files listed below break the following write-good rules:
+ # - is wordy or unneeded
+ #
+ # This allows us to place an exception need to pass the check without disabling all checks for
+ # the whole file.
+ # In an ideal world write-good would give us an override for each individual instance of a
+ # violation but until then this gives us a close enough approach.
+ - id: write-good
+ name: "write-good --no-tooWordy"
+ args: ["--no-tooWordy"]
+ files: >
+ (?x)^(
+ docs/jjb/lf-c-cpp-jobs.rst|
+ docs/jjb/lf-macros.rst|
+ docs/jjb/lf-python-jobs.rst
+ )$