Skip to content

Upgrade syntax to 3.11#428

Draft
hippalectryon-0 wants to merge 5 commits intoQubesOS:mainfrom
hippalectryon-0:pyupgrade-3.11
Draft

Upgrade syntax to 3.11#428
hippalectryon-0 wants to merge 5 commits intoQubesOS:mainfrom
hippalectryon-0:pyupgrade-3.11

Conversation

@hippalectryon-0
Copy link

Follow-up of #427

[Draft until #427 is merged]

Steps

  • Run find qubesadmin -name '*.py' -exec uvx -p 3.11 pyupgrade --py311-plus {} +

anon added 2 commits February 19, 2026 21:01
find qubesadmin -name '*.py' -exec uvx -p 3.10 pyupgrade --py310-plus {} +
@hippalectryon-0 hippalectryon-0 force-pushed the pyupgrade-3.11 branch 2 times, most recently from 6630d26 to 0287162 Compare February 19, 2026 14:15
@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

❌ Patch coverage is 65.71429% with 48 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.04%. Comparing base (8ebd096) to head (fd23fb2).

Files with missing lines Patch % Lines
qubesadmin/backup/restore.py 30.00% 7 Missing ⚠️
qubesadmin/tools/__init__.py 44.44% 5 Missing ⚠️
qubesadmin/tools/dochelpers.py 0.00% 5 Missing ⚠️
qubesadmin/tools/qvm_backup.py 0.00% 4 Missing ⚠️
qubesadmin/tools/qvm_start_daemon.py 42.85% 4 Missing ⚠️
qubesadmin/tools/qvm_pool_legacy.py 0.00% 3 Missing ⚠️
qubesadmin/backup/core3.py 0.00% 2 Missing ⚠️
qubesadmin/tools/qvm_create.py 0.00% 2 Missing ⚠️
qubesadmin/tools/qvm_ls.py 66.66% 2 Missing ⚠️
qubesadmin/tools/qvm_run.py 50.00% 2 Missing ⚠️
... and 10 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #428      +/-   ##
==========================================
- Coverage   76.07%   76.04%   -0.03%     
==========================================
  Files          53       53              
  Lines        9286     9277       -9     
==========================================
- Hits         7064     7055       -9     
  Misses       2222     2222              

☔ 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.

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