-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (77 loc) · 2.29 KB
/
pyproject.toml
File metadata and controls
86 lines (77 loc) · 2.29 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
[project]
name = "dataclasses-struct"
version = "1.4.1"
description = "Converting dataclasses to and from fixed-length binary data using struct"
readme = "README.md"
authors = [
{ name = "Harry Mander", email = "harrymander96@gmail.com" }
]
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"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",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
requires-python = ">=3.9.0"
dependencies = [
"typing-extensions>=4.12.2 ; python_full_version < '3.12'",
]
[project.urls]
Homepage = "https://github.com/harrymander/dataclasses-struct"
Repository = "https://github.com/harrymander/dataclasses-struct"
Documentation = "https://harrymander.xyz/dataclasses-struct"
[dependency-groups]
dev = [
"mypy>=1.16.0",
"pytest>=8.3.4",
"pytest-cov>=5.0.0",
"ruff>=0.9.4",
]
docs = [
"mkdocs-material>=9.6.14",
"mkdocstrings[python]>=0.29.1",
"ruff>=0.9.4",
]
[tool.uv.dependency-groups]
docs = {requires-python = ">=3.12"}
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
testpaths = ["test"]
markers = [
"cc: marks a test as requiring a C compiler"
]
strict_config = true
strict_markers = true
strict_xfail = true
[tool.coverage.run]
source = ["dataclasses_struct/"]
omit = ["dataclasses_struct/ext/**/*.py", "dataclasses_struct/_typing.py"]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", "W", # pycodestyle errors and warnings
"F", # pyflakes
"I", # isort
"RUF", # ruff-specific
"UP", # pyupgrade
]