Skip to content

Refactor and clean up code across multiple files - #2341

Merged
Tweekazoid merged 2 commits into
mainfrom
ruff_pydocs
Oct 28, 2026
Merged

Tweekazoid merged 2 commits into
mainfrom
ruff_pydocs

Conversation

@Tweekazoid

Copy link
Copy Markdown
Contributor
  • Added missing imports and organized existing ones for better readability.
  • Improved code formatting and consistency, including spacing and line breaks.
  • Updated function signatures to include type hints for better clarity.
  • Removed unnecessary comments and streamlined existing ones.
  • Enhanced logging setup for better debugging and tracking.
  • Fixed minor issues in string formatting and function definitions.
  • Consolidated similar code patterns for improved maintainability.

- Added missing imports and organized existing ones for better readability.
- Improved code formatting and consistency, including spacing and line breaks.
- Updated function signatures to include type hints for better clarity.
- Removed unnecessary comments and streamlined existing ones.
- Enhanced logging setup for better debugging and tracking.
- Fixed minor issues in string formatting and function definitions.
- Consolidated similar code patterns for improved maintainability.
@Tweekazoid
Tweekazoid requested a review from agajdosi October 20, 2026 13:07
@codecov

codecov Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 76.54321% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 35.19%. Comparing base (f4d16f7) to head (7d7436b).

Files with missing lines Patch % Lines
ui_panels.py 37.50% 5 Missing ⚠️
image_utils.py 33.33% 4 Missing ⚠️
asset_bar/asset_bar_op.py 50.00% 2 Missing ⚠️
addon_updater_ops.py 80.00% 1 Missing ⚠️
append_link.py 66.66% 1 Missing ⚠️
bg_blender.py 50.00% 1 Missing ⚠️
ratings_utils.py 0.00% 1 Missing ⚠️
search.py 75.00% 1 Missing ⚠️
unpack_asset_bg.py 0.00% 1 Missing ⚠️
upload_bg.py 50.00% 1 Missing ⚠️
... and 1 more
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2341   +/-   ##
=======================================
  Coverage   35.18%   35.19%           
=======================================
  Files          87       87           
  Lines       27795    27798    +3     
=======================================
+ Hits         9781     9784    +3     
  Misses      18014    18014           
Flag Coverage Δ
python 35.19% <76.54%> (+<0.01%) ⬆️

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

Files with missing lines Coverage Δ
__init__.py 0.00% <ø> (ø)
addon_updater.py 31.22% <100.00%> (+0.05%) ⬆️
asset_bar/asset_drag_op.py 7.41% <100.00%> (ø)
asset_inspector.py 8.84% <ø> (ø)
autothumb.py 22.24% <100.00%> (ø)
autothumb_model_bg.py 0.00% <ø> (ø)
bg_utils.py 0.00% <ø> (ø)
bkit_oauth.py 55.62% <ø> (ø)
bl_ui_widgets/__init__.py 41.17% <ø> (ø)
bl_ui_widgets/bl_ui_button.py 29.34% <100.00%> (ø)
... and 70 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Tweekazoid
Tweekazoid merged commit dc3c4cf into main Oct 28, 2026
32 checks passed
@Tweekazoid
Tweekazoid deleted the ruff_pydocs branch October 28, 2026 23:15
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