Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 11, 2024
1 parent a30cab0 commit e9bdddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ape_pm/dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def package_id(self) -> str:
raise ProjectError("Must provide either 'pypi:' or 'python:' for python-base dependencies.")

@property
def python(self) -> str:
def python(self) -> Optional[str]:
logger.warning("'.python' is deprecated. Please use 'site_package'.")
return self.site_package

Expand Down

0 comments on commit e9bdddb

Please sign in to comment.