Skip to content

Commit

Permalink
Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
q0w committed Oct 11, 2023
1 parent 9844be3 commit 871ee50
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/pip/_internal/operations/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ def check_package_set(
) -> CheckResult:
"""Check if a package set is consistent
If should_ignore is passed, it should be a callable that takes a
package name and returns a boolean.
If should_ignore/should_ignore_dependencies is passed, it should
be a callable that takes a package name and returns a boolean.
should_ignore_dependencies should be used to filter out dependencies
of packages specified in package_set.
"""

warn_legacy_versions_and_specifiers(package_set)
Expand Down

0 comments on commit 871ee50

Please sign in to comment.