summaryrefslogtreecommitdiff
path: root/llama.cpp/pyrightconfig.json
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-02-12 20:57:17 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-02-12 20:57:17 +0100
commitb333b06772c89d96aacb5490d6a219fba7c09cc6 (patch)
tree211df60083a5946baa2ed61d33d8121b7e251b06 /llama.cpp/pyrightconfig.json
downloadllmnpc-b333b06772c89d96aacb5490d6a219fba7c09cc6.tar.gz
Engage!
Diffstat (limited to 'llama.cpp/pyrightconfig.json')
-rw-r--r--llama.cpp/pyrightconfig.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/llama.cpp/pyrightconfig.json b/llama.cpp/pyrightconfig.json
new file mode 100644
index 0000000..a7bc007
--- /dev/null
+++ b/llama.cpp/pyrightconfig.json
@@ -0,0 +1,22 @@
+{
+ "extraPaths": ["gguf-py", "examples/model-conversion/scripts"],
+ "pythonVersion": "3.9",
+ "pythonPlatform": "All",
+ "reportUnusedImport": "warning",
+ "reportDuplicateImport": "error",
+ "reportDeprecated": "warning",
+ "reportUnnecessaryTypeIgnoreComment": "information",
+ "disableBytesTypePromotions": false, // TODO: change once Python 3.12 is the minimum
+ "executionEnvironments": [
+ {
+ // TODO: make this version override work correctly
+ "root": "gguf-py",
+ "pythonVersion": "3.8",
+ },
+ {
+ // uses match expressions in steps.py
+ "root": "tools/server/tests",
+ "pythonVersion": "3.10",
+ },
+ ],
+ }