-
-
Notifications
You must be signed in to change notification settings - Fork 273
/
Copy pathpyproject.toml
75 lines (64 loc) · 1.96 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
67
68
69
70
71
72
73
74
75
[project]
authors = [{ name = "Brenden Matthews", email = "[email protected]" }]
dependencies = [
"click>=8.1.3,<9",
"click-log>=0.4.0,<0.5",
"more-itertools>=9.1,<11.0",
"numpy>=1.26,<3.0",
"python-dateutil>=2.8.1,<3",
"pytimeparse>=1.1.8,<2",
"rich>=13.7.0,<14",
"schema>=0.7.5,<0.8",
"toml>=0.10.2,<0.11",
"ib-async>=1.0.3,<2",
"pydantic>=2.10.2,<3",
"annotated-types>=0.7.0,<0.8",
"polyfactory>=2.18.1,<3",
]
description = "ThetaGang is an IBKR bot for getting money"
license = "AGPL-3.0-only"
name = "thetagang"
readme = "README.md"
requires-python = ">=3.10,<3.13"
version = "1.14.0"
[project.urls]
"Bug Tracker" = "https://github.com/brndnmtthws/thetagang/issues"
Documentation = "https://github.com/brndnmtthws/thetagang/blob/master/README.md"
GitHub = "https://github.com/brndnmtthws/thetagang"
Homepage = "https://github.com/brndnmtthws/thetagang"
Repository = "https://github.com/brndnmtthws/thetagang.git"
[project.scripts]
thetagang = "thetagang.entry:cli"
[dependency-groups]
dev = [
"pre-commit>=4.0.1",
"pytest>=8.0.0,<9",
"pytest-watch>=4.2.0,<5",
"ruff>=0.9.1,<0.10.0",
]
[tool.lint]
# 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. "A" enables type annotation checks.
select = ["ANN", "E4", "E7", "E9", "F", "I", "W"]
# ignore self method type annotations
ignore = ["ANN1"]
exclude = ["stubs"]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Same as Black.
line-length = 88
target-version = "py310"
[tool.pyright]
defineConstant = { DEBUG = true }
pythonVersion = "3.10"
reportUnknownLambdaType = false
stubPath = "stubs"
venv = ".venv"
venvPath = "."
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.uv]
package = true