-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
78 lines (63 loc) · 1.55 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
[tool.poetry]
name = "fin-streamlit"
version = "0.1.2"
description = "Financial dashboards"
authors = ["jp <plutakuba@gmail.com>"]
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
chardet = "^5.2.0"
pandas = "^2.1.1"
plotly = "^5.17.0"
streamlit = "^1.27.2"
numpy = "^1.26.1"
requests = "^2.31.0"
poetry-dotenv-plugin = "^0.2.0"
[tool.poetry.group.dev.dependencies]
black = "^23.10.0"
pre-commit = "^3.5.0"
pylint = "^3.0.2"
isort = "^5.12.0"
bumpversion = "^0.6.0"
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
[build-system]
requires = ["setuptools<65.5.0", "poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
ignore = ["E501"]
unfixable = ["B"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401"]
[tool.ruff.isort]
combine-as-imports = true
force-wrap-aliases = true
[tool.isort]
profile = "black"
line_length = 79
skip_gitignore = true
combine_as_imports = true
[tool.coverage.run]
omit = [
"fin_streamlit/log.py",
"fin_streamlit/exc.py"
]
[tool.coverage.report]
exclude_also = [
# Don't complain about missing debug-only code:
"def __repr__",
"if self\\.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
"@(abc\\.)?abstractmethod",
]
ignore_errors = true