-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (69 loc) · 1.46 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
[project]
name = "stocksense"
version = "1.0.1"
description = "Package for value investing and advanced stock analytics"
authors = [
{name="Francisco Silva", email="francisco3597@gmail.com"},
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"requests",
"PyYAML",
"numpy",
"polars<1.13.0",
"loguru",
"tqdm",
"streamlit",
"yfinance",
"beautifulsoup4",
"requests_cache",
"requests_ratelimiter",
"pyrate_limiter",
"polars-talib",
"pygad",
"xgboost",
"scikit-learn",
"plotly",
"nbformat>=4.2.0",
"watchdog",
"ipykernel",
"shap",
"pre-commit",
"pydantic"
]
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "ruff", "nbqa", "pytest-mock"]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
omit = [
"*/conftest.py", "*/test*", # omit test files
]
[tool.coverage.report]
fail_under = 80
[tool.setuptools]
packages = ["stocksense"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[project.scripts]
stocksense-app = "stocksense.app.home:main"
stocksense = "stocksense.main:main"