-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
66 lines (56 loc) · 1.28 KB
/
pyproject.toml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[tool.poetry]
name = "OpenBB Bots-Discord"
version = "1.07"
description = "Discord-Bot for OpenBB Bot-Platform"
authors = ["teh_coderer <[email protected]>"]
[tool.poetry.dependencies]
python = ">=3.8,<3.12"
disnake = "^2.4.0"
pywry = "^0.6.0"
plotly = "^5.16.1"
pydantic-settings = "^2.1.0"
pillow = "^10.1.0"
openbb = "^4.1.4"
openbb-charting = "^2.0.0"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 122
target-version = "py38"
# This is an introductory addition of ruff. We should look to adding:
# D: pydocstyle, PD: pandas-vet
# All options here: https://github.com/charliermarsh/ruff#supported-rules
select = [
"E",
"W",
"F",
"Q",
"S",
"UP",
"I",
"PLC",
"PLE",
"PLR",
"PLW",
"SIM",
"T20",
]
# These ignores should be seen as temporary solutions to problems that will NEED fixed
ignore = ["PLR2004", "PLR0913", "PLR0915"]
[tool.ruff.per-file-ignores]
"tests/*" = ["S101"]
[tool.ruff.flake8-import-conventions.aliases]
"matplotlib.pyplot" = "plt"
numpy = "np"
pandas = "pd"
seaborn = "sns"
[tool.ruff.isort]
combine-as-imports = true
force-wrap-aliases = true
[tool.ruff.pylint]
max-args = 8
max-branches = 25
max-returns = 9
max-statements = 30