-
Notifications
You must be signed in to change notification settings - Fork 70
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
Simple Clean up, .gitignore improved, PR template added #227
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ready for review
Co-authored-by: Jonas Mueller <[email protected]>
Co-authored-by: Jonas Mueller <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #227 +/- ##
==========================================
- Coverage 96.04% 95.84% -0.21%
==========================================
Files 16 16
Lines 986 986
Branches 194 194
==========================================
- Hits 947 945 -2
- Misses 20 21 +1
- Partials 19 20 +1 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Jonas Mueller <[email protected]>
finalized the gitignore
@smttsp once you've finalized .github/pull_request_template.md it would be awesome if you can also make a PR with the same template to cleanlab/cleanlab repo! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was one overlooked suggestion, which you can commit, and then this LGTM.
Leaving final review + merge to @sanjanag who has relied on the .gitignore more than any other developer of this repo thus far.
@jwmueller, would you like me to update gitignore as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, please remove all unnecessary file escapes from the gitignore, it's hard to comment at each one of them.
@sanjanag if there is anything in gitignore you wanna keep, I can keep them. Otherwise, I am dropping all the .gitignore related commits. I am not clear on what is needed, and what is not needed in this repo but most of these are pretty common stuff to ignore. |
Hi @smttsp ! Your PR template looks good, We don't want to clutter the gitignore with supposedly "common stuff" that does not concern this repo. I'd recommend you only keep the following sections in the gitignore and remove the rest. Thank you.
|
@sanjanag would you like me to have the same exact changes as this one: https://github.com/cleanlab/cleanlab/pull/867/files, so it would be more consistent with the other repo? |
.gitignore
Outdated
build/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this line exclude MANIFEST.in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it doesnt exclude
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you still remove it? I think it's confusing since we have a MANIFEST.in file
.gitignore
Outdated
*.cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
.coverage* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this line exclude .coveragerc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it excludes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't want to exclude it, can you please remove it?
.gitignore
Outdated
|
||
# Misc | ||
results/ | ||
image_files* | ||
|
||
# datasets | ||
cifar* | ||
|
||
cleanlab/*.ipynb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not valid in this repo, please remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
.gitignore
Outdated
|
||
# Misc | ||
results/ | ||
image_files* | ||
|
||
# datasets | ||
cifar* | ||
|
||
cleanlab/*.ipynb | ||
tests/fasttext_data/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not valid in this repo, please remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
.gitignore
Outdated
*$py.class | ||
|
||
# C extensions | ||
*.so |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not valid in this repo, please remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
many of these are very common stuff in gitignore, in fact, most of these lines are coming from Github's default Python gitignore.
I found being proactive much more effective than being retroactive. We will add common things now, but we won't need to add them to gitignore if/when it happens.
Note that prior to this PR, when I set up my environment, I was seeing 30K files to be committed as the ENV
(default) directory wasn't in gitignore.
.gitignore
Outdated
*.so | ||
|
||
|
||
# PyInstaller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not valid in this repo, please remove this
.gitignore
Outdated
# mypy | ||
.mypy_cache/ | ||
|
||
# Downloaded datasets for docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section is not valid in this repo, please remove this
.gitignore
Outdated
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
venv.bak/ | ||
.direnv | ||
|
||
# Spyder project settings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
.python-version | ||
|
||
# celery beat schedule file | ||
celerybeat-schedule |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
# celery beat schedule file | ||
celerybeat-schedule | ||
|
||
# SageMath parsed files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
/docs/source/tutorials/datalab/datalab-files/ | ||
|
||
# IPython | ||
profile_default/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
.ipynb_checkpoints | ||
|
||
# pyenv | ||
.python-version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
cleanlab-docs | ||
|
||
# PyBuilder | ||
target/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
# Sphinx documentation | ||
build | ||
_build | ||
cleanlab-docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
db.sqlite3 | ||
logs/ | ||
|
||
# Flask stuff: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
*.mo | ||
*.pot | ||
|
||
# Django stuff: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Translations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
.gitignore
Outdated
*.manifest | ||
*.spec | ||
|
||
# Installer logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid in this repo, please remove this
Hi @smttsp ! I have added a few more comments, could you please address them? Thanks. |
Summary
This PR improves the .gitignore as well as adds a PR template to be filled in any PR created.
Added the following sections:
.idea, .vscode
)Impact
Testing
Ticket(s) or Conversations
-N/A
References