diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a15d11..0516c82 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/paperless.sh b/paperless.sh index d2befa8..9d8995c 100755 --- a/paperless.sh +++ b/paperless.sh @@ -14,13 +14,13 @@ print_usage () { cat << END_OF_COMMENT $(basename "$0") get_tasks | put_document - 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 to your paperless instance. - return values: + return values: If everything went alright, $(basename "$0") returns 0. Every other return value indicates an error.