We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e797e3c commit 4d7a19bCopy full SHA for 4d7a19b
1 file changed
.manager/src/pypackit/script/lint.py
@@ -21,7 +21,7 @@
21
22
23
def run(
24
- config: str,
+ config: str | Path,
25
*,
26
action: Literal["report", "run", "validate"] = "run",
27
hook_id: str | None = None,
@@ -109,7 +109,7 @@ def __init__(
109
"run",
110
hook_id,
111
"--config",
112
- config,
+ str(config),
113
"--color=always",
114
"--show-diff-on-failure",
115
"--verbose",
0 commit comments