Skip to content

Commit

Permalink
fix(numbers_c2pa/core.py): resolve lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
olgahaha committed Jan 6, 2025
1 parent 912087a commit 1967cf7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/numbers_c2pa/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def c2patool_inject(
manifest_path: str,
output_path: str,
force_overwrite: bool,
*,
parent_path: Optional[str] = None,
private_key: Optional[str] = None,
sign_cert: Optional[str] = None,
Expand Down Expand Up @@ -132,6 +133,7 @@ def create_c2pa_manifest(
creator_name: str,
creator_public_key: str,
asset_hash: str,
*,
date_created: Optional[datetime] = None,
latitude: Optional[str] = None,
longitude: Optional[str] = None,
Expand Down Expand Up @@ -214,6 +216,7 @@ def create_c2pa_manifest(


def create_custom_c2pa_manifest(
*,
alg: str = 'es256',
ta_url: str = 'http://timestamp.digicert.com',
vendor: str = 'numbersprotocol',
Expand Down Expand Up @@ -300,6 +303,7 @@ def inject(
asset_bytes: bytes,
asset_mime_type: str,
manifest: Dict,
*,
private_key: Optional[str] = None,
sign_cert: Optional[str] = None,
force_overwrite: bool = True,
Expand Down Expand Up @@ -335,6 +339,7 @@ def inject_file(
asset_file: str,
c2pa_output_file: str,
manifest: Dict[str, Any],
*,
parent_path: Optional[str] = None,
private_key: Optional[str] = None,
sign_cert: Optional[str] = None,
Expand Down

0 comments on commit 1967cf7

Please sign in to comment.