Skip to content

Commit 4d7a19b

Browse files
committed
Update lint.py
1 parent e797e3c commit 4d7a19b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • .manager/src/pypackit/script

.manager/src/pypackit/script/lint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222

2323
def run(
24-
config: str,
24+
config: str | Path,
2525
*,
2626
action: Literal["report", "run", "validate"] = "run",
2727
hook_id: str | None = None,
@@ -109,7 +109,7 @@ def __init__(
109109
"run",
110110
hook_id,
111111
"--config",
112-
config,
112+
str(config),
113113
"--color=always",
114114
"--show-diff-on-failure",
115115
"--verbose",

0 commit comments

Comments
 (0)