Skip to content

Commit 1197151

Browse files
authored
Merge pull request #2038 from honnix/patch-1
Skip constraint path check
2 parents 1f00154 + d99493c commit 1197151

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

piptools/scripts/options.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -343,14 +343,6 @@ def _get_default_option(option_name: str) -> Any:
343343
constraint = click.option(
344344
"-c",
345345
"--constraint",
346-
type=click.Path(
347-
exists=True,
348-
file_okay=True,
349-
dir_okay=False,
350-
readable=True,
351-
allow_dash=False,
352-
path_type=str,
353-
),
354346
multiple=True,
355347
help="Constrain versions using the given constraints file; may be used more than once.",
356348
)

0 commit comments

Comments
 (0)