Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Avoid creating unnecessary *.pyc files with PYTHONDONTWRITEBYTECODE=1 and ensure logs are printed immediately with PYTHONUNBUFFERED=1 #192

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

estebanx64
Copy link
Contributor

@estebanx64 estebanx64 commented Mar 11, 2024

avoid create unnecessary pycache folders

@tiangolo tiangolo changed the title 👷 [ADD]: Added PYTHONDONTWRITEBYTECODE=1 ENV to a… 👷 Avoid creating unnecessary *.pyc files with PYTHONDONTWRITEBYTECODE=1 Mar 11, 2024
@tiangolo tiangolo added the feature New feature or request label Mar 11, 2024
@tiangolo tiangolo enabled auto-merge (squash) March 11, 2024 16:49
@tiangolo
Copy link
Owner

Nice, thank you! 🚀

auto-merge was automatically disabled March 20, 2024 18:11

Head branch was pushed to by a user without write access

@tiangolo tiangolo changed the title 👷 Avoid creating unnecessary *.pyc files with PYTHONDONTWRITEBYTECODE=1 👷 Avoid creating unnecessary *.pyc files with PYTHONDONTWRITEBYTECODE=1 and ensure logs are printed immediately with PYTHONUNBUFFERED=1 Mar 21, 2024
@tiangolo tiangolo merged commit ebc2ad4 into tiangolo:master Mar 21, 2024
11 checks passed
@tiangolo
Copy link
Owner

Nice, thanks! 🚀 🍰

@tiangolo tiangolo changed the title 👷 Avoid creating unnecessary *.pyc files with PYTHONDONTWRITEBYTECODE=1 and ensure logs are printed immediately with PYTHONUNBUFFERED=1 🔧 Avoid creating unnecessary *.pyc files with PYTHONDONTWRITEBYTECODE=1 and ensure logs are printed immediately with PYTHONUNBUFFERED=1 Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants