-
Notifications
You must be signed in to change notification settings - Fork 15
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
Versioning #269
Versioning #269
Conversation
🎨⬆️ pin black to version 22.3.0 for .pre-commit-config.yaml hooks and within test/environment.yml 📝🎨🐍 autometa entrypoint prints version, citation, commands, urls to docs and code 🐳 Add 'autometa --version' when checking entrypoints in Dockerfile
🎨 Include autometa/validation/benchmark.py, autometa/validation/datasets.py, tests and bin in black command
|
🔥 Remove import 'from importlib_metadata import entry_points' in autometa/__init__.py
🎨💚 Attempt at resolving pytest/codecov job failure (not reproducible from local env)
Codecov Report
@@ Coverage Diff @@
## dev #269 +/- ##
========================================
+ Coverage 0 27.72% +27.72%
========================================
Files 0 47 +47
Lines 0 5406 +5406
========================================
+ Hits 0 1499 +1499
- Misses 0 3907 +3907
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
✅ Add tests for autometa.__main__ entrypoint
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.
Looks good to me.
autometa
entrypoint (prints--version
,--citation
, or w/o args; commands with urls to docs and code).pre-commit-config.yaml
hooks and withintest/environment.yml
autometa --version
when checking entrypoints in DockerfileOne may test the
autometa
entrypoint by issuing the following commands:Env setup
git clone -b versioning https://github.com/KwanLab/Autometa cd Autometa make create_environment conda activate autometa make install
Command
autometa --version # or autometa -V
autometa --citation # or autometa -C
PR checklist