Skip to content

Commit

Permalink
Rename read_deps to declared_deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 30, 2024
1 parent 2fd85d7 commit 103cc93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def python_requires_supported():
return f'>= {min_ver}'


def read_deps():
def declared_deps():
"""
Read deps from ``__init__.py``.
"""
Expand Down Expand Up @@ -176,7 +176,7 @@ def package_name(dep):
return normalize(packaging.requirements.Requirement(dep).name)

return unique_everseen(
itertools.chain(read_deps(), inferred_deps()),
itertools.chain(declared_deps(), inferred_deps()),
key=package_name,
)

Expand Down

0 comments on commit 103cc93

Please sign in to comment.