Skip to content

Commit

Permalink
mypy 1.6.0 (python-poetry#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby authored Oct 15, 2023
1 parent 086f933 commit 4a60147
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 29 deletions.
56 changes: 28 additions & 28 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/poetry/core/packages/project_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,5 @@ def __hash__(self) -> int:
return super(Package, self).__hash__()

def build_should_generate_setup(self) -> bool:
return self.build_config.get("generate-setup-file", False)
value: bool = self.build_config.get("generate-setup-file", False)
return value

0 comments on commit 4a60147

Please sign in to comment.