-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
63 lines (51 loc) · 1.34 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
[tool.poetry]
name = "btclib-node"
version = "0.1.0"
description = "Bitcoin node in python"
authors = ["Giacomo Caironi <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.8"
plyvel = "1.3.0"
btclib = "2023.7.12"
http-parser = "^0.9.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
black = "^23.9.1"
nox = "^2023.4.22"
pre-commit = "^3.4.0"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^7.0"
pytest-cov = {extras = ["toml"], version = "^4.0"}
pytest-xdist = "^3.3.0"
pytest-remotedata = "^0.4"
pydeps = "^1.9.13"
requests = "^2.25.1"
pytest-ordering = "^0.6"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ["tests/unit", "tests/functional"]
python_files = "*.py"
python_functions = "test*"
addopts = "-n auto --remote-data=any --cov --cov-report term-missing:skip-covered --durations=10"
filterwarnings = ['ignore:cannot collect test class']
[tool.coverage.run]
omit = ["*/site-packages/*"]
[tool.coverage.report]
show_missing = true
skip_empty = true
precision = 2
[tool.isort]
profile = "black"
src_paths = ["btclib_node", "tests"]
[tool.pylint.format]
max-line-length = 100
[tool.flake8]
max-line-length = 130
ignore = ["E203", "E501", "W503"]