Skip to content

[enh, wip] adding cli with click (#297) #364

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

Closed
wants to merge 2 commits into from

Conversation

djarecka
Copy link
Collaborator

@djarecka djarecka commented Oct 8, 2020

Acknowledgment

  • I acknowledge that this contribution will be available under the Apache 2 license.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Summary

  • adding cli with click (pydracli)
  • adding clean function to remove directories with .lock extension

Checklist

  • All tests passing
  • I have added tests to cover my changes
  • I have updated documentation (if necessary)
  • My code follows the code style of this project
    (we are using black: you can pip install pre-commit,
    run pre-commit install in the pydra directory
    and black will be run automatically with each commit)

@codecov
Copy link

codecov bot commented Oct 8, 2020

Codecov Report

Attention: Patch coverage is 52.94118% with 8 lines in your changes missing coverage. Please review.

Project coverage is 82.42%. Comparing base (b52a05b) to head (a0b6665).
Report is 1626 commits behind head on main.

Files with missing lines Patch % Lines
pydra/engine/tools/click_main.py 52.94% 7 Missing and 1 partial ⚠️

❌ Your patch status has failed because the patch coverage (52.94%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #364      +/-   ##
==========================================
- Coverage   85.69%   82.42%   -3.28%     
==========================================
  Files          20       21       +1     
  Lines        3761     3778      +17     
  Branches     1016     1019       +3     
==========================================
- Hits         3223     3114     -109     
- Misses        339      463     +124     
- Partials      199      201       +2     
Flag Coverage Δ
unittests 82.31% <52.94%> (-3.28%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@djarecka djarecka closed this Apr 26, 2025
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.

1 participant