-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (80 loc) · 1.94 KB
/
pyproject.toml
File metadata and controls
94 lines (80 loc) · 1.94 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "b256tests"
version = "0.1.0"
description = "A collection of 256-bit integer generators and test scripts, unified under a single CLI tool"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "Dario Clavijo", email = "clavijodario@gmail.com"}
]
dependencies = []
[project.optional-dependencies]
dev = [
"ruff",
"mypy",
"hatch",
"pip-api",
]
test = [
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-asyncio",
"hypothesis",
]
lint = [
"ruff",
"mypy",
]
all = ["b256tests[dev,test,lint]"]
optional = [
"numpy",
"python-stdnum",
]
[project.scripts]
b256tests = "b256tests.__main__:main"
[project.urls]
Homepage = "https://github.com/daedalus/256btests"
Repository = "https://github.com/daedalus/256btests"
Issues = "https://github.com/daedalus/256btests/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/b256tests"]
[tool.hatch.build.targets.sdist]
include = ["src/b256tests"]
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "ANN", "TCH", "N", "C4", "ARG"]
ignore = ["E501", "ANN", "ARG", "N802", "N806", "E741", "C414", "E731", "F841"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
python_version = "3.11"
strict = false
warn_return_any = true
warn_unused_ignores = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short --cov=src --cov-fail-under=10"
filterwarnings = ["ignore::DeprecationWarning"]
[tool.coverage.run]
source = ["src"]
branch = true
[tool.coverage.report]
exclude = ["tests/*", "*/__init__.py"]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]