-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
72 lines (64 loc) · 1.41 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "strategy"
authors = [
{name = "Tom McLean"},
]
description = "A trading strategy framework"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
dynamic = ["readme", "dependencies"]
requires-python = ">=3.9"
version = "0.0.1dev0"
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
dependencies = {file = ["requirements.txt"]}
[tool.setuptools]
packages = ["strategy"]
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.nox
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| configs
| examples
)/
'''
[tool.ruff]
line-length = 120
ignore = ["F405", "B008", "B023"]
select = ["E", "F", "B", "C4", "DTZ", "PTH", "I001"]
exclude = ["alembic/*"]
[tool.ruff.per-file-ignores]
"**/__init__.py" = ["F401", "F403"]
[tool.ruff.isort]
split-on-trailing-comma = true
known-third-party = []
known-first-party = ["strategy"]
no-lines-before = ["local-folder"]
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"this",
"local-folder"
]
[tool.ruff.isort.sections]
"this" = ["strategy"]