From 9cff986d17d1c98f37fc6ff9b8893509a537459a Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Thu, 14 Nov 2024 10:29:39 +0100 Subject: [PATCH 1/2] chore: updated pre-commit hooks --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 From 7764173b97296abb8aaa6272e1a4a3ad0a843d60 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Thu, 14 Nov 2024 10:32:15 +0100 Subject: [PATCH 2/2] style: correct indention for the usage --- paperless.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.