Compare commits

...

2 commits

2 changed files with 8 additions and 8 deletions

View file

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

View file

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