-
Notifications
You must be signed in to change notification settings - Fork 32
/
pyproject.toml
64 lines (55 loc) · 1.29 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
[build-system]
requires = ["setuptools>=42.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "embit"
version = "0.8.0"
description="A minimal bitcoin library for MicroPython and Python3 with a focus on embedded systems."
readme = "README.md"
authors = [
{name = "Stepan Snigirev", email = "[email protected]"},
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"requests", # for integration tests
"mypy",
"black",
"pre-commit",
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
embit = ["util/prebuilt/*"]
[tool.pytest.ini_options]
addopts = "--cov=embit"
testpaths = [
"tests/tests",
]
[tool.coverage.run]
omit = [
"*/liquid/*",
]
[tool.mypy]
mypy_path = "src"
namespace_packages = true
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = false