Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
atugushev committed Jul 27, 2023
1 parent efcb7a7 commit d5e13f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions piptools/scripts/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,7 @@ def _determine_linesep(
path_type=str,
),
multiple=True,
help=(
"Constrain versions using the given constraints file. "
"This option can be used multiple times."
),
help="Constrain versions using the given constraints file; may be used more than once.",
)
def cli(
ctx: click.Context,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ def test_callback_config_file_defaults(pyproject_param, new_default, make_config
("trusted_host", "not-a-list"),
("annotate", "not-a-bool"),
("max_rounds", "not-an-int"),
("constraint", "not-an-int"),
("constraint", "not-an-list"),
),
)
def test_callback_config_file_defaults_multi_validate_value(
Expand Down

0 comments on commit d5e13f7

Please sign in to comment.