diff --git a/komodo/lint.py b/komodo/lint.py index e121693ec..7231582b7 100755 --- a/komodo/lint.py +++ b/komodo/lint.py @@ -108,8 +108,9 @@ def lint( ) for name, version in release_file.content.items(): # if "depends" in repository_file.content.get(name, {}).get(version, {}): - if "pypi" != repository_file.content.get(name, {}).get(version, {}).get( - "source" + if ( + repository_file.content.get(name, {}).get(version, {}).get("source") + != "pypi" ): depends = repository_file.content[name][version].get("depends", []) if depends != []: diff --git a/komodo/pypi_dependencies.py b/komodo/pypi_dependencies.py index 64e5556ee..5c2b3d1e0 100644 --- a/komodo/pypi_dependencies.py +++ b/komodo/pypi_dependencies.py @@ -214,7 +214,7 @@ def satisfied( Not installed: pyjwt False >>> PypiDependencies(to_install={"PyJWT": "2.3.0"}, python_version="3.8").satisfied( - ... Requirement("PyJWT[crypto] (<3, >=1.0.0)") + ... Requirement("PyJWT (<3, >=1.0.0)") ... ) [... True