forked from brndnmtthws/thetagang
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (59 loc) · 1.72 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (59 loc) · 1.72 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
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
67
68
69
70
71
[tool.poetry]
authors = ["Brenden Matthews <brenden@brndn.io>"]
description = "ThetaGang is an IBKR bot for getting money"
documentation = "https://github.com/brndnmtthws/thetagang/blob/master/README.md"
homepage = "https://github.com/brndnmtthws/thetagang"
license = "AGPL-3.0-only"
name = "thetagang"
readme = "README.md"
repository = "https://github.com/brndnmtthws/thetagang.git"
version = "1.9.1"
[tool.poetry.dependencies]
click = "^8.1.3"
click-log = "^0.4.0"
ib_insync = "^0.9.86"
python = ">=3.9,<3.13"
python-dateutil = "^2.8.1"
pytimeparse = "^1.1.8"
schema = "^0.7.5"
toml = "^0.10.2"
rich = "^13.3.5"
more-itertools = ">=9.1,<11.0"
numpy = "^1.26.0"
[tool.poetry.group.dev.dependencies]
autohooks = "^23.4.0"
autohooks-plugin-black = ">=22.11,<24.0"
autohooks-plugin-ruff = "^23.10.0"
black = "^23.1.0"
pytest = "^7.2.1"
ruff = "^0.1.1"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/brndnmtthws/thetagang/issues"
"GitHub" = "https://github.com/brndnmtthws/thetagang"
[tool.poetry.scripts]
thetagang = 'thetagang.entry:cli'
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "120"
[tool.autohooks]
mode = "poetry"
pre-commit = [
"autohooks.plugins.ruff",
"autohooks.plugins.black",
]
[build-system]
build-backend = "poetry.masonry.api"
requires = ["poetry>=0.12"]
[tool.ruff]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E4", "E7", "E9", "F", "I", "W"]
ignore = []
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Same as Black.
line-length = 88
target-version = "py39"