Compare commits

..

2 commits

2 changed files with 8 additions and 8 deletions

View file

@ -5,7 +5,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
@ -13,22 +13,22 @@ repos:
- id: check-merge-conflict
- id: check-byte-order-marker
- repo: https://github.com/fsfe/reuse-tool
rev: v3.0.2
rev: v4.0.3
hooks:
- id: reuse
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: '2.7.3'
rev: '3.0.3'
hooks:
- id: editorconfig-checker
alias: ec
stages: [commit]
stages: [pre-commit]
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.2.0
rev: v3.6.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.40.0
rev: v0.42.0
hooks:
- id: markdownlint
- repo: https://github.com/koalaman/shellcheck-precommit

View file

@ -14,13 +14,13 @@ print_usage () {
cat << END_OF_COMMENT
$(basename "$0") get_tasks | put_document <file>
commands:
commands:
get_tasks Get the list of tasks. This is not formatted, i.e. you'll
have to pipe it yourself through a formatter.
put_document Uploads the document under <file> to your paperless
instance.
return values:
return values:
If everything went alright, $(basename "$0") returns 0. Every other return
value indicates an error.