From 6b9ed374b52fb29d23fe867989e84c08aa0188c7 Mon Sep 17 00:00:00 2001 From: gaspardBT Date: Wed, 28 May 2025 16:58:17 +0200 Subject: [PATCH 1/3] fix: extras dependencies related issues during compiling --- .genignore | 1 + pylintrc | 3 ++- pyproject.toml | 7 ++++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.genignore b/.genignore index 1ded5670..be3ba87c 100644 --- a/.genignore +++ b/.genignore @@ -1,3 +1,4 @@ pyproject.toml examples/* src/mistral/extra/* +pylintrc \ No newline at end of file diff --git a/pylintrc b/pylintrc index 266bc815..dd962451 100644 --- a/pylintrc +++ b/pylintrc @@ -52,7 +52,8 @@ ignore=CVS # ignore-list. The regex matches against paths and can be in Posix or Windows # format. Because '\\' represents the directory delimiter on Windows systems, # it can't be used as an escape character. -ignore-paths= +ignore-paths=^src/mistralai_private/extra/.*$, + ^src/mistralai_private/conversations.py # Files or directories matching the regular expression patterns are skipped. # The regex matches against base names, not paths. The default value ignores diff --git a/pyproject.toml b/pyproject.toml index 1050042e..f5ef8696 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,7 +69,12 @@ module = "typing_inspect" ignore_missing_imports = true [[tool.mypy.overrides]] -module = "jsonpath" +module = [ + "typing_inspect.*", + "authlib.*", + "mcp.*", + "griffe.*" +] ignore_missing_imports = true [tool.pyright] From 27c9ed6b60b768a839ab9957838f8d1266a2c564 Mon Sep 17 00:00:00 2001 From: gaspardBT Date: Wed, 28 May 2025 17:00:35 +0200 Subject: [PATCH 2/3] add jsonpath back --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index f5ef8696..eef962d2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,6 +70,7 @@ ignore_missing_imports = true [[tool.mypy.overrides]] module = [ + "jsonpath.* "typing_inspect.*", "authlib.*", "mcp.*", From 247edab2a3fb3175ebb961c0c8a6885ba5d9ed67 Mon Sep 17 00:00:00 2001 From: gaspardBT Date: Wed, 28 May 2025 17:02:05 +0200 Subject: [PATCH 3/3] fix dumb typo --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index eef962d2..dc055d7b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ ignore_missing_imports = true [[tool.mypy.overrides]] module = [ - "jsonpath.* + "jsonpath.*", "typing_inspect.*", "authlib.*", "mcp.*",