← Back to scan
File as GitHub Issue repo: pandas-dev/pandas-stubs

Push this scan report to pandas-dev/pandas-stubs

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

`self.dtype` used but never assigned in __init__

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
HIGH MINED108 `self.to_numpy` used but never assigned in __init__ tests/extension/decimal/array.py:343
HIGH MINED108 `self.isna` used but never assigned in __init__ tests/extension/decimal/array.py:304
HIGH MINED108 `self.isna` used but never assigned in __init__ tests/extension/decimal/array.py:303
HIGH MINED108 `self.isna` used but never assigned in __init__ tests/extension/decimal/array.py:274
HIGH MINED108 `self.dtype` used but never assigned in __init__ tests/extension/decimal/array.py:243
HIGH MINED108 `self.dtype` used but never assigned in __init__ tests/extension/decimal/array.py:229
HIGH MINED108 `self.dtype` used but never assigned in __init__ tests/extension/decimal/array.py:223
HIGH MINED108 `self._from_sequence` used but never assigned in __init__ tests/extension/decimal/array.py:226
HIGH MINED131 pre-commit hook `https://github.com/psf/black` pinned to mutable rev `26.3.1` .pre-commit-config.yaml:19
HIGH MINED131 pre-commit hook `https://github.com/PyCQA/isort` pinned to mutable rev `8.0.1` .pre-commit-config.yaml:15
HIGH MINED131 pre-commit hook `https://github.com/codespell-project/codespell` pinned to mutable rev `v… .pre-commit-config.yaml:10
HIGH MINED131 pre-commit hook `https://github.com/astral-sh/ruff-pre-commit` pinned to mutable rev `v0.… .pre-commit-config.yaml:5
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … pandas-stubs/core/computation/eval.pyi:21
LOW AIC003 Duplicated implementation block across source files tests/dtypes.py:10
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… pandas-stubs/errors/__init__.pyi:27
Reset to top 5 15 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `pandas-dev/pandas-stubs`

**Score: 90/100 (A-)**  ·  40 findings  ·  scanned 2026-06-05 18:25 UTC  ·  44,274 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 12 |
| MEDIUM | 1 |
| LOW | 1 |

📊 [Full filterable report](https://repobility.com/scan/27af6abe-159e-456b-919a-51947cd83081/)  ·  ![scorecard](https://repobility.com/scan/27af6abe-159e-456b-919a-51947cd83081/report.png?v=1780683920-s2)

### Top findings

1. **HIGH** `MINED108` — `self.to_numpy` used but never assigned in __init__
   `tests/extension/decimal/array.py:343` · ✓ Repobility
2. **HIGH** `MINED108` — `self.isna` used but never assigned in __init__
   `tests/extension/decimal/array.py:304` · ✓ Repobility
3. **HIGH** `MINED108` — `self.isna` used but never assigned in __init__
   `tests/extension/decimal/array.py:303` · ✓ Repobility
4. **HIGH** `MINED108` — `self.isna` used but never assigned in __init__
   `tests/extension/decimal/array.py:274` · ✓ Repobility
5. **HIGH** `MINED108` — `self.dtype` used but never assigned in __init__
   `tests/extension/decimal/array.py:243` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/27af6abe-159e-456b-919a-51947cd83081/_
Megaproject â high spam risk
Could not determine 'pandas-dev/pandas-stubs' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
34/41 findings (83%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.