forked from giocaizzi/btc-cycles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (60 loc) · 1.5 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
[tool.poetry]
name = "btc-cycles"
version = "0.3.4"
description = "Track Bitcoin price over halving cycles"
authors = ["giocaizzi <[email protected]>"]
license = "MIT"
readme = "README.md"
include = ["btc_cycles/core/halvings.json"]
[tool.poetry.dependencies]
python = "^3.8.1"
matplotlib = [
{ version = "^3.8", python = "^3.9" },
{ version = "<3.8", python = "<3.9" },
]
pandas = [
{ version = "^2.1", python = "^3.9" },
{ version = "<2.1", python = "<3.9" },
]
cryptocompare = "^0.7.6"
cryptocmd = "^0.6.4"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.2"
pytest-cov = "^5.0.0"
ipykernel = "^6.29.4"
python-dotenv = "^1.0.1"
pytest-mock = "^3.14"
pre-commit = { version = "^3.7.1", python = ">=3.9,<4.0.0" }
nbconvert = "^7.16.4"
jupyter = "^1.0.0"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov --cov-report xml --cov-report html --cov-report lcov"
[tool.coverage.report]
include = ["btc_cycles/*"]
[tool.isort]
profile = "black"
[tool.flake8]
extend-ignore = [
# black compatibility
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#minimal-configuration
"E203",
"E701",
# RST201, RST203, RST301 - Google Python Style docstrings cause errors (ref:??)
"RST201",
"RST203",
"RST301",
]
exclude = [
"tests/*",
".github/*",
".vscode/*",
"docs/*",
"docsrc/*",
"temp/*",
" ./build/*",
]
max-line-length = 88
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"