Skip to content

Conversation

@candleindark
Copy link
Member

@candleindark candleindark commented Dec 12, 2025

This PR improves help message for the --validation option in dandi upload.

Reviewer notes:

The meaning of the choice to ignore validation is unclear. In fact, the choice is not used in the production code. I made an educated guess on the meaning of the choice in constructing the help message.

@candleindark candleindark added the documentation Changes only affect the documentation label Dec 12, 2025
@codecov
Copy link

codecov bot commented Dec 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.07%. Comparing base (07548d3) to head (65f37d9).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1768   +/-   ##
=======================================
  Coverage   75.07%   75.07%           
=======================================
  Files          84       84           
  Lines       11910    11910           
=======================================
  Hits         8942     8942           
  Misses       2968     2968           
Flag Coverage Δ
unittests 75.07% <ø> (ø)

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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the help message for the --validation option in the dandi upload command by clarifying what behavior is discouraged. The original message ambiguously stated "Use of this option is highly discouraged," while the updated message more clearly states "Not requiring validation is highly discouraged."

Key Changes

  • Clarified the help message to indicate that not requiring validation (i.e., using non-default values like 'skip' or 'ignore') is what's discouraged, rather than implying that using the option itself is discouraged

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@yarikoptic yarikoptic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor tune up -- keep discouragement in place!

@yarikoptic yarikoptic merged commit 712b58c into master Dec 16, 2025
42 checks passed
@yarikoptic yarikoptic deleted the enh-help-msg branch December 16, 2025 21:28
@github-actions
Copy link

🚀 PR was released in 0.74.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Changes only affect the documentation released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants