Skip to content

Conversation

@Ovizro
Copy link
Member

@Ovizro Ovizro commented Jul 13, 2025

No description provided.

Ovizro added 4 commits July 3, 2025 01:05
- Automatically set choices from Literal type unless explicitly provided
- Update tests to cover new functionality
- Improve error handling for duplicate command names
- Refactor command inheritance to properly handle __commands__ attribute
- Add skip parameter to Argument class
- Implement IgnoreArg type for ignoring arguments
- Update ArgumentParser binding and help text formatting
- Improve test coverage for argument-related functionality
- Replace plain string with Rich Text object in mock_poutput assertion
- Improve type safety and consistency in test output
@codecov
Copy link

codecov bot commented Jul 13, 2025

Codecov Report

Attention: Patch coverage is 91.46341% with 7 lines in your changes missing coverage. Please review.

Project coverage is 87.30%. Comparing base (1a09520) to head (234595e).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/ptcmd/core.py 82.60% 2 Missing and 2 partials ⚠️
src/ptcmd/completer.py 75.00% 1 Missing and 1 partial ⚠️
src/ptcmd/info.py 97.14% 0 Missing and 1 partial ⚠️
@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
+ Coverage   86.99%   87.30%   +0.31%     
==========================================
  Files           7        7              
  Lines         746      780      +34     
  Branches      143      155      +12     
==========================================
+ Hits          649      681      +32     
- Misses         54       55       +1     
- Partials       43       44       +1     
Files with missing lines Coverage Δ
src/ptcmd/__init__.py 100.00% <100.00%> (ø)
src/ptcmd/argument.py 89.65% <100.00%> (+1.58%) ⬆️
src/ptcmd/command.py 100.00% <100.00%> (+2.85%) ⬆️
src/ptcmd/info.py 89.24% <97.14%> (+4.50%) ⬆️
src/ptcmd/completer.py 84.15% <75.00%> (-0.35%) ⬇️
src/ptcmd/core.py 82.62% <82.60%> (-1.85%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Ovizro Ovizro merged commit faad765 into master Jul 13, 2025
22 checks passed
@Ovizro Ovizro deleted the fix-multiple-inheritance branch July 13, 2025 08:54
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