Add comments

This commit is contained in:
Peter Lisák 2019-01-07 17:10:08 +01:00
parent 4f35981085
commit 1a87e577d0
2 changed files with 4 additions and 1 deletions

View File

@ -134,6 +134,10 @@ class ListCommand(Command):
include_editables=options.include_editable,
)
# get_not_required must be called firstly in order to find and
# filter out all dependencies correctly. Otherwise a package
# can't be identified as requirement because some parent packages
# could be filtered out before.
if options.not_required:
packages = self.get_not_required(packages, options)

View File

@ -384,7 +384,6 @@ def test_outdated_editables_columns_flag(script, data):
)
@pytest.mark.network
def test_outdated_not_required_flag(script, data):
"""
test the behavior of --outdated --not-required flag in the list command