-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (76 loc) · 1.97 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "investing-pal"
dynamic = ["version"]
description = "Family of tools for testing and tracking investing strategies"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "Kuba Sejdak", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"rich",
"strenum"
]
[project.optional-dependencies]
dev = [
"black",
"isort[colors]",
"mypy",
"pylint",
"pytest",
"pytest-cov"
]
[project.urls]
Homepage = "https://github.com/kubasejdak/investing-pal"
Documentation = "https://github.com/kubasejdak/investing-pal/wiki"
Issues = "https://github.com/kubasejdak/investing-pal/issues"
Source = "https://github.com/kubasejdak/investing-pal"
[project.scripts]
bond-calculator = "investing_pal.app.bond_calculator.main:run"
[tool.hatch.version]
path = "investing_pal/__init__.py"
[tool.black]
line-length = 120
[tool.isort]
line_length = 120
src_paths = ["investing_pal"]
profile = "black"
[tool.mypy]
disallow_untyped_defs = true
enable_error_code = ["redundant-expr"]
explicit_package_bases = true
mypy_path= "investing_pal"
pretty = true
show_error_codes = true
strict = true
strict_equality = true
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
[tool.pylint.format]
max-line-length = 120
[tool.pylint.master]
init-hook="import sys; sys.path.append('investing_pal')"
[tool.pylint.messages_control]
disable = [
"logging-fstring-interpolation",
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring"
]
[tool.pytest.ini_options]
addopts = "--color=yes"
pythonpath = "investing_pal"