forked from rustedpy/result
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (65 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
73 lines (65 loc) · 1.74 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
[project]
name = "result"
dynamic = ["version"]
description = "A Rust-like result type for Python"
readme = "README.md"
keywords = ["rust", "result", "enum"]
authors = [{ name = "Danilo Bargen", email = "mail@dbrgn.ch" }]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.10"
dependencies = []
[project.urls]
Homepage = "https://github.com/montasaurus/result"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/result/__init__.py"
[tool.mypy]
python_version = "3.13"
files = ["src"]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
no_implicit_reexport = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
strict_equality = true
strict_optional = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.pytest.ini_options]
addopts = ["--tb=short"]
testpaths = ["tests"]
[dependency-groups]
dev = [
"lazydocs>=0.4.8",
"mypy>=1.14.1",
"pytest>=8.3.4",
"pytest-asyncio>=0.25.1",
"pytest-mypy-plugins>=3.2.0",
"ruff>=0.8.6",
"pyright",
]
[tool.pyright]
strict = ["src/result/**"]