Skip to content

Add .venv to skip patterns#1483

Merged
vhvb1989 merged 5 commits intoAzure:mainfrom
pamelafox:skip-venv
Feb 3, 2023
Merged

Add .venv to skip patterns#1483
vhvb1989 merged 5 commits intoAzure:mainfrom
pamelafox:skip-venv

Conversation

@pamelafox
Copy link
Member

Related:
#1039
#1237

I'm trying to port one of the official function samples to azd, but the current sample assumes that there's a ".venv" folder for a Python virtual environment, and it would be a large code change to the sample to remove that assumption. (And potentially to the functions extension as well, as it's baked into the auto-generated files).

So, until there's a longer term solution, I was hoping we could just manually skip .venv for now. That's the most common name for the directory (as it's spelled that way in Python docs) and the name in the function sample/template as well.

What do you think?

@vhvb1989 vhvb1989 merged commit 10570e8 into Azure:main Feb 3, 2023
@vhvb1989
Copy link
Member

vhvb1989 commented Feb 3, 2023

this should unblock you for now.
Thank you for bringing the PR

@pamelafox
Copy link
Member Author

Thanks @vhvb1989 !

@pamelafox pamelafox deleted the skip-venv branch February 3, 2023 19:26
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.

2 participants