-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
112 lines (97 loc) · 2.78 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
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kraken-rebalance-bot"
dynamic = ["version"]
authors = [
{name = "Benjamin Thomas Schwertfeger", email = "[email protected]"},
]
description = "A rebalance trading bot for the Kraken cryptocurrency exchange."
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.11"
dependencies = [
"python-kraken-sdk>=1.3.0",
"schedule",
"requests",
]
keywords = ["crypto", "trading", "kraken", "exchange", "api"]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Office/Business :: Financial",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Utilities",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Framework :: AsyncIO",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Unix"
]
[project.scripts]
rebalance = "rebalance:run"
[project.urls]
"Homepage" = "https://github.com/btschwertfeger/Kraken-Rebalance-Bot"
"Bug Tracker" = "https://github.com/btschwertfeger/Kraken-Rebalance-Bot/issues"
[project.optional-dependencies]
dev = [
# building
"build",
# formatting
"black",
# typing
"mypy",
"types-requests"
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ["rebalance"]
exclude = ["docs*", "tests*", "examples*", ".env"]
[tool.setuptools_scm]
write_to = "rebalance/_version.py"
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"
# ========= T Y P I N G =======================================================
#
[tool.mypy]
python_version = "3.11"
# junit_xml = "mypy.xml"
files = ["rebalance/**/*.py"]
# Disallow dynamic typing
disallow_any_unimported = false
disallow_any_expr = false
disallow_any_decorated = false
disallow_any_explicit = false
disallow_any_generics = false
disallow_subclassing_any = false
# # Untyped definitions and calls
check_untyped_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = false
# None and Optional handling
implicit_optional = true
strict_optional = false
# Configuring warnings
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
warn_no_return = true
warn_return_any = true
warn_unreachable = true
# Suppressinng errors
ignore_errors = false
# Configuring error messages
show_error_context = true
show_column_numbers = true
hide_error_codes = false
pretty = true
color_output = true
show_absolute_path = true
ignore_missing_imports = true