-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (37 loc) · 1.1 KB
/
pyproject.toml
File metadata and controls
54 lines (37 loc) · 1.1 KB
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
[tool.black]
line-length = 110
[tool.poetry]
name = "bitcoin-safe-lib"
version = "2.1.1"
authors = ["andreasgriffin <andreasgriffin@proton.me>"]
license = "GPL-3.0"
readme = "README.md"
description = "Python tools and library"
homepage = "https://github.com/andreasgriffin"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
numpy = "2.2.1" # error in wine/pyinstaller when increased
pyqt6 = "^6.9.0"
bdkpython ="^2.0.0"
cryptography = ">=46.0.5"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py312"
line-length = 110
src = ["bitcoin_safe_lib"]
[tool.ruff.lint]
# E+F are defaults; include I for isort-equivalent import sorting and a few handy extras.
select = ["E", "F", "I", "B", "UP"]
ignore = ["E501"]
[tool.ruff.lint.isort]
# Optionally tune first/third party detection:
known-first-party = ["bitcoin_safe_lib"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*" = ["ALL"]
"tools/**/*" = ["ALL"]
[tool.ruff.format]
# Ruff formatter is Black-compatible; keep defaults or tweak here.