Skip to content

Commit 55e8c9f

Browse files
authored
fix: extras dependencies related issues during compiling (#227)
* fix: extras dependencies related issues during compiling * add jsonpath back * fix dumb typo
1 parent d1d0f30 commit 55e8c9f

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.genignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pyproject.toml
22
examples/*
33
src/mistral/extra/*
4+
pylintrc

pylintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ ignore=CVS
5252
# ignore-list. The regex matches against paths and can be in Posix or Windows
5353
# format. Because '\\' represents the directory delimiter on Windows systems,
5454
# it can't be used as an escape character.
55-
ignore-paths=
55+
ignore-paths=^src/mistralai_private/extra/.*$,
56+
^src/mistralai_private/conversations.py
5657

5758
# Files or directories matching the regular expression patterns are skipped.
5859
# The regex matches against base names, not paths. The default value ignores

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,13 @@ module = "typing_inspect"
6969
ignore_missing_imports = true
7070

7171
[[tool.mypy.overrides]]
72-
module = "jsonpath"
72+
module = [
73+
"jsonpath.*",
74+
"typing_inspect.*",
75+
"authlib.*",
76+
"mcp.*",
77+
"griffe.*"
78+
]
7379
ignore_missing_imports = true
7480

7581
[tool.pyright]

0 commit comments

Comments
 (0)