Skip to content

[pre-commit.ci] pre-commit autoupdate#514

Merged
github-actions[bot] merged 2 commits into
mainfrom
pre-commit-ci-update-config
Jun 15, 2026
Merged

[pre-commit.ci] pre-commit autoupdate#514
github-actions[bot] merged 2 commits into
mainfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci

@pre-commit-ci pre-commit-ci Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.16 → v0.15.17](astral-sh/ruff-pre-commit@v0.15.16...v0.15.17)
@pre-commit-ci pre-commit-ci Bot requested a review from jan-janssen as a code owner June 15, 2026 19:40
@jan-janssen

Copy link
Copy Markdown
Member
======================================================================
ERROR: test_by_id_not_final (test_materialsproject.TestMaterialsProjectById.test_by_id_not_final)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/work/structuretoolkit/structuretoolkit/tests/test_materialsproject.py", line 189, in test_by_id_not_final
    with patch("mp_api.client.MPRester") as MockMPRester:
         ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/miniconda3/envs/test/lib/python3.14/unittest/mock.py", line 1494, in __enter__
    self.target = self.getter()
                  ~~~~~~~~~~~^^
  File "/Users/runner/miniconda3/envs/test/lib/python3.14/pkgutil.py", line 473, in resolve_name
    result = getattr(result, p)
AttributeError: module 'mp_api' has no attribute 'client'

======================================================================

@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.90%. Comparing base (1c84e07) to head (9833cce).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #514   +/-   ##
=======================================
  Coverage   97.90%   97.90%           
=======================================
  Files          29       29           
  Lines        2004     2004           
=======================================
  Hits         1962     1962           
  Misses         42       42           

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

@github-actions github-actions Bot merged commit e1c2e35 into main Jun 15, 2026
20 checks passed
@github-actions github-actions Bot deleted the pre-commit-ci-update-config branch June 15, 2026 20:42
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