-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (61 loc) · 1.12 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
dependencies = [
"alembic",
"click",
"pandas",
"polygon-api-client",
"psycopg2-binary",
"pydantic",
"python-dotenv",
"requests",
"sqlalchemy-utils",
"beautifulsoup4"
]
name = "stocklake"
dynamic = ["version"]
readme = "README.md"
license = "MIT"
[project.optional-dependencies]
dev = ["black", "ruff-lsp", "pre-commit", "mypy", "pytest"]
[project.scripts]
stocklake = "stocklake.cli:stocklake"
[tool.hatch.version]
path = "stocklake/__init__.py"
[tool.hatch.build.targets.sdist]
include = ["/stocklake"]
[tool.ruff]
ignore = ["E501"]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.ruff.isort]
combine-as-imports = true
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
split-on-trailing-comma = true
[tool.mypy]
namespace_packages = true
ignore_missing_imports = true
python_version = "3.11"
[[tool.mypy.overrides]]
module = "requests.*"
ignore_missing_imports = true