Skip to content

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

Open
pre-commit-ci[bot] wants to merge 4 commits intomainfrom
pre-commit-ci-update-config
Open

[pre-commit.ci] pre-commit autoupdate#3025
pre-commit-ci[bot] wants to merge 4 commits intomainfrom
pre-commit-ci-update-config

Conversation

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.8 → v0.15.9](astral-sh/ruff-pre-commit@v0.15.8...v0.15.9)
- [github.com/pre-commit/mirrors-mypy: v1.19.1 → v1.20.0](pre-commit/mirrors-mypy@v1.19.1...v1.20.0)
- [github.com/tox-dev/pyproject-fmt: v2.20.0 → v2.21.0](tox-dev/pyproject-fmt@v2.20.0...v2.21.0)
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.42%. Comparing base (0994342) to head (b784677).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3025      +/-   ##
==========================================
+ Coverage   93.37%   93.42%   +0.04%     
==========================================
  Files          92       92              
  Lines       11310    11310              
==========================================
+ Hits        10561    10566       +5     
+ Misses        749      744       -5     
Flag Coverage Δ
linux 93.28% <ø> (+0.04%) ⬆️
pypy 93.42% <ø> (+0.04%) ⬆️
windows 93.39% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Pierre-Sassoulas
Copy link
Copy Markdown
Member

mypy thinks the following is unreacheable code. Can't tell if it's true or a false positive in the time I have right now.

            if (
                spec
                and spec.loader  # type: ignore[comparison-overlap] # noqa: E501
                is importlib.machinery.FrozenImporter
            ):
                return ModuleSpec(
                    name=modname,
                    location=getattr(spec.loader_state, "filename", None),
                    type=ModuleType.PY_FROZEN,
                )

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