Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and DavidVujic committed Sep 12, 2022
1 parent 9239f81 commit d434a0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/poetry/core/masonry/builders/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ def find_files_to_add(self, exclude_build: bool = True) -> set[BuildIncludeFile]
else include_file.relative_to_project_root()
)

if self.is_excluded(include_file_path) and isinstance(include, PackageInclude):
if self.is_excluded(include_file_path) and isinstance(
include, PackageInclude
):
continue

if file.suffix == ".pyc":
Expand Down

0 comments on commit d434a0e

Please sign in to comment.