Skip to content

Commit

Permalink
FIX: do not pass filenames to `check-jsonschema
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Jan 12, 2024
1 parent 97481a1 commit 6da23ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/compwa_policy/check_dev_files/citation.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def add_json_schema_precommit() -> None:
"https://citation-file-format.github.io/1.2.0/schema.json",
"CITATION.cff",
],
pass_filenames=False,
)
config, yaml = load_roundtrip_precommit_config()
repo_url = "https://github.com/python-jsonschema/check-jsonschema"
Expand Down
1 change: 1 addition & 0 deletions src/compwa_policy/utilities/precommit.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,3 +281,4 @@ class Hook(TypedDict):
always_run: NotRequired[bool]
verbose: NotRequired[bool]
log_file: NotRequired[str]
pass_filenames: NotRequired[bool]

0 comments on commit 6da23ee

Please sign in to comment.