Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update python verions #13574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: master
Choose a base branch
Loading
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updates pyright configuration
Updates the pyright configuration to use Python 3.10.

This ensures compatibility with newer language features
and libraries. It also excludes the 'tools/legacy' and 'tests'
directories from analysis.
  • Loading branch information
robbiemu committed May 19, 2025
commit 2f3854cfc69a1b9af2109339c6838d6b2e5ee5dd
2 changes: 0 additions & 2 deletions 2 gguf-py/gguf/quants.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# pyright: reportInvalidTypeForm=false

from __future__ import annotations
from abc import ABC, abstractmethod
from typing import Any, Callable, Sequence
Expand Down
8 changes: 6 additions & 2 deletions 8 pyrightconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extraPaths": ["gguf-py"],
"pythonVersion": "3.9",
"pythonVersion": "3.10",
"pythonPlatform": "All",
"reportUnusedImport": "warning",
"reportDuplicateImport": "error",
Expand All @@ -11,12 +11,16 @@
{
// TODO: make this version override work correctly
"root": "gguf-py",
"pythonVersion": "3.8",
"pythonVersion": "3.10",
},
{
// uses match expressions in steps.py
"root": "tools/server/tests",
"pythonVersion": "3.10",
},
],
"exclude": [
"tools/legacy",
"tests"
]
}
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.