-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
57 lines (47 loc) · 1.03 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
[build-system]
requires = [
"setuptools>=61",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "acts-data-collector"
description = "Collect crypto asset data from binance and store in MongoDB"
readme = "README.md"
requires-python = ">=3.10"
version = "0.1.0"
license = { file = "LICENSE" }
authors = [{ name = "Roman Prokofyev" }]
[project.optional-dependencies]
dev = [
"black>=22.3.0",
"flake8>=4.0.1",
"mypy>=1.2",
"pytest>=7.1.2",
"pre-commit>=2.19.0"
]
[tool.setuptools]
packages = ["datacollector"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["tests"]
[tool.black]
line-length = 120
target_version = ["py310"]
[tool.flake8]
max-line-length = 120
[tool.mypy]
python_version = "3.10"
[tool.coverage.run]
relative_files = true
branch = true
# omit the tests themselves
omit = ["*/tests/*", "*/tmp/*"]
[tool.coverage.report]
exclude_lines = [
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:"
]
ignore_errors = true