-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
77 lines (66 loc) · 1.63 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
[tool.poetry]
name = "blockchainpype"
version = "0.1.1"
description = "BlockchainPype is a Python library for interacting with multiple blockchain networks."
authors = ["Gianluca Pagliara <pagliara.gianluca@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.13"
financepype = "^0.1.0"
web3 = "^7.6.1"
solders = "^0.23.0"
solana = "^0.36.3"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
pytest-cov = "^4.1.0"
black = "^23.11.0"
isort = "^5.12.0"
mypy = "^1.7.0"
safety = "^2.3.5"
pre-commit = "^3.5.0"
ruff = "^0.8.4"
pytest-asyncio = "<0.25.0"
sphinx = "^8.1.3"
sphinx-rtd-theme = "^3.0.2"
sphinx-autodoc-typehints = "^3.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py312']
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
check_untyped_defs = true
strict = true
disallow_untyped_decorators = false
ignore_missing_imports = true
disable_error_code = ["misc"]
exclude = ["tests/.*"]
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP" # pyupgrade
]
ignore = [
"E203", # See https://github.com/psf/black/issues/315
"E501" # Line too long (handled by black)
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # Ignore unused imports in __init__ files