Skip to content

Conversation

@rayryeng
Copy link
Contributor

This PR adds a .gitignore so the student avoids accidentally adding in unintended directories, such as fastapi and .venv, which are part of the setup instructions provided to complete this project.

By unintentionally adding these, the flake8 linter test will fail in the Github Actions workflow setup, and the student should not be responsible in fixing the formatting provided by these directories since the student did not author any of them.

As such, placing a .gitignore will ensure these directories are never added. In addition, I've used the following link to generate other possible directories and files that may get generated during the completion of this project to truly ensure the student doesn't add anything unintended to their commits.

@rayryeng rayryeng requested a review from a team as a code owner February 10, 2025 21:34
@rayryeng rayryeng requested review from sarah-udacity and removed request for a team February 10, 2025 21:34
@rayryeng
Copy link
Contributor Author

@SudKul @islamalsawy - Can I ask for a review for this PR and to get it merged ASAP? Many students have been unintentionally committing directories that should not be part of the project completion, and the Github Actions workflow that is set up is failing the flake8 linter test because of these directories.

Your attention and prompt merge is extremely appreciated.

@islamalsawy
Copy link
Member

@rayryeng Thanks for brining this to our attention. Done!

@islamalsawy islamalsawy merged commit b640cf0 into udacity:main Feb 11, 2025
@rayryeng rayryeng deleted the add_gitignore branch February 11, 2025 12:36
pjkrupa pushed a commit to pjkrupa/Deploying-a-Scalable-ML-Pipeline-with-FastAPI that referenced this pull request Jun 18, 2025
Added gitignore to avoid accidentally adding unintended directories
aericksen-dev pushed a commit to aericksen-dev/Deploying-a-Scalable-ML-Pipeline-with-FastAPI that referenced this pull request Oct 1, 2025
Added gitignore to avoid accidentally adding unintended directories
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