-
-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathpyproject.toml
More file actions
35 lines (33 loc) · 1.16 KB
/
pyproject.toml
File metadata and controls
35 lines (33 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[tool.ruff]
ignore = [
"E501",
]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"Q", # flake8-quotes
"T201" # flake8-print
]
typing-modules = ['spacy_llm.compat']
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = [
"error",
"ignore:^.*pkg_resources.*:DeprecationWarning",
"ignore:.*function is now available as sqlalchemy.orm.declarative_base().*:",
"ignore:^.*You are trying to use a chat model. This way of initializing it is no longer supported. Instead, please use.*:UserWarning",
"ignore:^.*Xformers is not installed correctly.*:",
"ignore:^.*The 'warn' method is deprecated, use 'warning' instead.*:DeprecationWarning",
"ignore:^.*Skipping device Apple Paravirtual device that does not support Metal 2.0.*",
"ignore:^.*was deprecated in langchain-community.*",
"ignore::pydantic.warnings.PydanticDeprecatedSince20",
"ignore:Core Pydantic V1 functionality:UserWarning"
]
markers = [
"external: interacts with a (potentially cost-incurring) third-party API",
"gpu: requires a GPU to run"
]
[tool.isort]
multi_line_output = 9
profile = "black"