Skip to content

🔧 Enable and apply ruff pyupgrade - #7254

Merged
agoscinski merged 2 commits into
aiidateam:mainfrom
GeigerJ2:dev/enable-ruff-pyupgrade
Jul 16, 2026
Merged

agoscinski merged 2 commits into
aiidateam:mainfrom
GeigerJ2:dev/enable-ruff-pyupgrade

🔧 `ruff`: enable `UP` (pyupgrade) (#7254)

23dfc06
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 16, 2026 in 0s

80.61% (+0.01%) compared to 3be1a53

View this Pull Request on Codecov

80.61% (+0.01%) compared to 3be1a53

Details

Codecov Report

❌ Patch coverage is 98.72611% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.61%. Comparing base (3be1a53) to head (23dfc06).

Files with missing lines Patch % Lines
src/aiida/tools/dbimporters/plugins/icsd.py 0.00% 2 Missing ⚠️
src/aiida/engine/daemon/client.py 85.72% 1 Missing ⚠️
src/aiida/engine/daemon/execmanager.py 66.67% 1 Missing ⚠️
src/aiida/manage/tests/pytest_fixtures.py 66.67% 1 Missing ⚠️
src/aiida/orm/nodes/data/data.py 75.00% 1 Missing ⚠️
src/aiida/orm/utils/links.py 88.89% 1 Missing ⚠️
...c/aiida/parsers/plugins/templatereplacer/parser.py 0.00% 1 Missing ⚠️
.../storage/psql_dos/migrations/utils/dblog_update.py 0.00% 1 Missing ⚠️
...iida/tools/dbimporters/plugins/materialsproject.py 0.00% 1 Missing ⚠️
src/aiida/tools/ipython/ipython_magics.py 0.00% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7254      +/-   ##
==========================================
+ Coverage   80.60%   80.61%   +0.01%     
==========================================
  Files         580      580              
  Lines       46718    46722       +4     
==========================================
+ Hits        37653    37659       +6     
+ Misses       9065     9063       -2     

☔ View full report in Codecov by Harness.
📢 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.