forked from mindsdb/mindsdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
32 lines (25 loc) · 715 Bytes
/
pyproject.toml
File metadata and controls
32 lines (25 loc) · 715 Bytes
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
[build-system]
# @TODO: We should figure out version limitations for these
requires = [
"setuptools",
"wheel",
]
[tool.ruff]
exclude = [
".venv",
"build",
"tests/unused"
]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
ignore = [
"E501", # Line too long
"C901", # Function is too complex
"E721" # Do not compare types, use 'isinstance()': https://www.flake8rules.com/rules/E721.html
]
[tool.ruff.lint.per-file-ignores]
"mindsdb/__main__.py" = ["E402"]
"mindsdb/api/http/start.py" = ["E402"]
"mindsdb/api/mysql/mysql_proxy/libs/constants/mysql.py" = ["E241"]
"mindsdb/integrations/handlers/lightwood_handler/tests/test_lightwood_handler.py" = ["E402"]