-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
145 lines (130 loc) · 3.4 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[tool.poetry]
authors = ["Pedro Torres <[email protected]>"]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Intended Audience :: Science/Research",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Education",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Utilities",
"Topic :: Terminals",
"Topic :: System :: Software Distribution",
"Topic :: Software Development :: Libraries :: Python Modules",
]
description = "Download candlestick data fast & easy for analysis"
homepage = "https://crypto-candlesticks.readthedocs.io/en/latest/"
keywords = ["cryptocurrency", "candlesticks", "download", "data", "ohlc"]
license = "GPL-3.0-or-later"
name = "crypto-candlesticks"
readme = "README.md"
repository = "https://github.com/Corfucinas/crypto-candlesticks"
version = "0.2.1"
[tool.poetry.urls]
"issues" = "https://github.com/Corfucinas/crypto-candlesticks/issues/new/choose"
[tool.poetry.scripts]
crypto-candlesticks = "crypto_candlesticks.main:main"
[tool.poetry.dependencies]
click = "^8.0.3"
pandas = "^1.0.5"
python = "^3.8"
requests = "^2.24.0"
retry = "^0.9.2"
rich = "^11.0.0"
[tool.poetry.dev-dependencies]
Sphinx = "^4.4.0"
black = "^22.1"
codecov = "^2.1.11"
commitizen = "^2.20.4"
flakeheaven = "^0.11.1"
furo = "^2022.1.2"
mypy = "^0.931"
nox = "^2022.1.7"
perflint = "^0.7.1"
pre-commit = "^2.16.0"
pytest = "^7.0.0"
pytest-cov = "^3.0.0"
pytest-mock = "^3.6.1"
safety = "^1.10.3"
sphinx-copybutton = "^0.5.0"
sphinxcontrib-spelling = "^7.3.2"
sphinxext-opengraph = "^0.5.1"
wemake-python-styleguide = "^0.16.0"
[tool.flakeheaven]
format = "grouped"
max_line_length = 79
show_source = true
[tool.flakeheaven.plugins]
"*" = ["+*", "-WPS226", "-WPS202", "-WPS305", "-WPS412", "-WPS421", "-WPS433"]
[tool.black]
exclude = '''
(
/(
\.eggs
| \.git
| \.mypy_cache
| \.nox
| \.venv
| _build
| .pytest_cache
| .vscode
| build
| dist
)/
)
'''
line-length = 79
skip-string-normalization = true
[tool.mypy]
allow_redefinition = false
check_untyped_defs = true
disallow_any_explicit = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
ignore_errors = false
implicit_reexport = false
local_partial_types = true
no_implicit_optional = true
no_implicit_reexport = true
strict_equality = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ["requests.*", "retry.*", "pandas.*", "toml.*"]
[tool.isort]
combine_star = true
force_grid_wrap = 0
import_heading_firstparty = "project"
import_heading_localfolder = "app"
import_heading_stdlib = "built-in"
import_heading_thirdparty = "external"
include_trailing_comma = true
line_length = 79
lines_after_imports = 2
profile = "black"
[tool.coverage.paths]
source = ["./src", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["crypto_candlesticks"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
]
show_missing = true
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version = "0.2.0"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]