From a81c0964b02ae05d50eca937afe05b1b387a23ad Mon Sep 17 00:00:00 2001 From: Brian Bjarke Jensen Date: Thu, 8 Jan 2026 08:33:00 +0100 Subject: [PATCH] small corrections --- .pre-commit-config.yaml | 1 + README.md | 16 ++++++++-------- .../data_zipper/data_zipper.py | 3 +-- .../data_zipper/data_zipper_interface.py | 3 +-- .../password_provider/password_provider.py | 3 +-- .../password_provider_interface.py | 3 +-- 6 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b7e0522..a46edbc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,6 +9,7 @@ repos: - id: check-added-large-files - id: debug-statements - id: name-tests-test + exclude: ^tests/test_data/ - id: check-merge-conflict # Python linting and formatting with Ruff diff --git a/README.md b/README.md index 4df5cf1..633ba5f 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ uv run python-encrypt-code generate-password Encrypt a Python module or package directory. ```bash -uv run python-encrypt-code encrypt -o -p [-aad ] +uv run python-encrypt-code encrypt -o -p [-aad ] ``` **Options:** @@ -97,12 +97,12 @@ uv run python-encrypt-code encrypt -o -p [ Decrypt a file and extract contents to disk. ```bash -uv run python-encrypt-code decrypt -o +uv run python-encrypt-code decrypt -o ``` **Options:** -- `encrypted.pec`: Path to encrypted file +- `source`: Path to encrypted file - `-o, --output`: Directory to extract decrypted files ### `run-insecure` @@ -111,13 +111,13 @@ Decrypt and execute a Python script from an encrypted package. **N.B. this writes decrypted files to a temporary folder on the disk before executing!** ```bash -uv run python-encrypt-code run-insecure --script +uv run python-encrypt-code run-insecure --script