-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
85 lines (75 loc) · 1.86 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[project]
name = "pystructtype"
version = "0.3.0"
description = "Leverage Python Types to Define C-Struct Interfaces"
readme = "README.md"
authors = [{name = "fchorney", email = "[email protected]"}]
license = "MIT"
license-files = ["LICEN[CS]E*"]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Utilities",
"Programming Language :: Python :: 3.13",
]
keywords = ["struct", "cstruct", "type"]
requires-python = ">=3.13"
dependencies = []
[project.urls]
Homepage = "https://github.com/fchorney/pystructtype"
Documentation = "https://pystructtype.readthedocs.io/en/latest/"
Repository = "https://github.com/fchorney/pystructtype"
Issues = "https://github.com/fchorney/pystructtype/issues"
[dependency-groups]
dev = [
"coverage[toml]",
"mypy",
"pytest",
"pytest-cov",
"ruff",
"sphinx",
"sphinx-autoapi",
"sphinx-rtd-theme",
"tox",
"tox-uv",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.coverage.run]
relative_files = true
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = true
exclude_lines = ["if __name__ == .__main__.:", "def __str__", "def __repr__", "pragma: no cover"]
[tool.uv]
package = true
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py313"
[tool.ruff.lint]
select = [
"F", # PyFlakes
"E", # Error
"I", # iSort
"N", # Pep8-Naming
"B", # Flake8-BugBear
"UP", # PyUpgrade
"RUF", # Ruff Specific Rules
]
ignore = []
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
# Like Black
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = "dynamic"