Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Nov 11, 2025

Motivation and context

In TaskExporter, it is trivially obviated by using "" as the default directory. In ProjectExporter, target directories are not supported at all, so remove such parameters completely.

Also, add/improve type annotations for all affected methods.

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • [ ] I have created a changelog fragment
  • [ ] I have updated the documentation accordingly
  • [ ] I have added tests to cover my changes
  • [ ] I have linked related issues (see GitHub docs)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@SpecLad SpecLad force-pushed the target-dir-conditional branch from 66d4168 to 02da50d Compare November 11, 2025 18:07
@codecov-commenter
Copy link

codecov-commenter commented Nov 11, 2025

Codecov Report

❌ Patch coverage is 87.50000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.46%. Comparing base (9c57111) to head (dcc113f).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9998      +/-   ##
===========================================
- Coverage    81.98%   75.46%   -6.53%     
===========================================
  Files          427      427              
  Lines        46243    46243              
  Branches      4132     4132              
===========================================
- Hits         37913    34897    -3016     
- Misses        8330    11346    +3016     
Components Coverage Δ
cvat-ui 76.91% <ø> (-0.16%) ⬇️
cvat-server 74.24% <87.50%> (-11.91%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

In `TaskExporter`, it is trivially obviated by using "" as the default
directory. In `ProjectExporter`, target directories are not supported at all,
so remove such parameters completely.

Also, add/improve type annotations for all affected methods.
@SpecLad SpecLad force-pushed the target-dir-conditional branch from 02da50d to dcc113f Compare November 12, 2025 10:11
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@SpecLad SpecLad merged commit 98c0a2a into cvat-ai:develop Nov 12, 2025
39 of 40 checks passed
@SpecLad SpecLad deleted the target-dir-conditional branch November 12, 2025 11:14
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