| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Limit analysis to the production and deprecation-test scope already checked by mypy so unrelated tests and fuzz targets do not block adoption. Pin basedpyright for reproducible diagnostics and baseline the existing standard-mode findings. This preserves the current code while making new errors and warnings fail CI. Run the check in one Linux matrix job to avoid duplicating the same fixed-target analysis across every platform and interpreter. Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>
There was a problem hiding this comment.
This PR introduces basedpyright as an additional type-checking tool for GitPython, aiming to enable incremental adoption by checking a limited subset of the codebase and adding a legacy diagnostics baseline.
Changes:
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| test-requirements.txt | Adds a pinned basedpyright dependency for supported Python/platforms. |
| pyproject.toml | Configures basedpyright to type-check git/ and test/deprecation/. |
| .github/workflows/pythonpackage.yml | Runs basedpyright in CI (Ubuntu / Python 3.12). |
| .basedpyright/baseline.json | Introduces a legacy baseline of current diagnostics for gradual adoption. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The idea is to one fine day make Zed not light up anymore when looking at the code.
So far, it's not working though, but this PR is a start.