-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
100 lines (87 loc) · 2.02 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[build-system]
requires = ["hatchling", "wheel"]
build-backend = "hatchling.build"
[project]
name = "ftui"
dynamic = ["version"]
authors = [
{name = "froggleston"},
{name = "Freqtrade Team", email = "freqtrade@protonmail.com"},
]
description = "Freqtrade TUI"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
classifiers = [
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: MacOS",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
"Topic :: Office/Business :: Financial :: Investment",
]
dependencies = [
'pandas',
'numpy',
'requests',
'python-rapidjson',
'PyYaml',
'textual>=0.55.1',
'textual_plotext',
'freqtrade-client',
]
[project.urls]
Homepage = "https://github.com/freqtrade/ftui"
Documentation = "https://freqtrade.io"
"Bug Tracker" = "https://github.com/freqtrade/ftui/issues"
[project.scripts]
ftui = "ftui.ftui:main"
[tool.hatch.build.targets.sdist]
# where = ["."]
include = ["ftui*"]
exclude = ["tests", "tests.*"]
[tool.hatch.version]
path = "ftui/__init__.py"
[tool.black]
line-length = 100
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
# Exclude vendor directory
| vendor
)
'''
[tool.isort]
line_length = 100
[tool.ruff]
line-length = 100
[tool.ruff.lint]
extend-select = [
"TID", # flake8-tidy-imports
# "EXE", # flake8-executable
"YTT", # flake8-2020
# "DTZ", # flake8-datetimez
# "RSE", # flake8-raise
# "TCH", # flake8-type-checking
# "PTH", # flake8-use-pathlib
"I", # isort
]
[tool.flake8]
max-line-length = 100
extend-ignore = "E203"