Skip to content

Conversation

@DavidVujic
Copy link
Owner

Description

Listing bricks shouldn't include common Python cache folders, like __pycache__. This PR will handle that, by checking for common cache folder names.

Motivation and Context

Fixes #65

How Has This Been Tested?

Copied a __pycache__ folder among the compontents.
Ran poetry poly info to verify it was there among bricks.
Locally installed the fix, and ran the same command. Verified the __pycache__ folder was not in the list of bricks.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

@DavidVujic DavidVujic merged commit 83cbb2f into main Mar 13, 2023
@DavidVujic DavidVujic deleted the poly-info-bug-cache-files branch March 13, 2023 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

poly info: exclude cache files from list of bricks

2 participants