-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (80 loc) · 1.96 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (80 loc) · 1.96 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
[project]
name = "mdxify"
dynamic = ["version"]
description = "Generate MDX API documentation from Python modules"
readme = "README.md"
license = { text = "MIT" }
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
]
keywords = ["documentation", "mdx", "api", "python"]
authors = [
{ name = "zzstoatzz", email = "thrast36@gmail.com" }
]
requires-python = ">=3.10"
dependencies = [
"griffe>=0.36.0",
]
[dependency-groups]
dev = [
"ipython",
"ty",
"pre-commit>=2.21,<4.0",
"ruff",
"pytest>=7.3.1",
"pytest-asyncio>=0.18.2",
"pyinstrument>=5.0.3",
]
[project.scripts]
mdxify = "mdxify.cli:main"
[project.urls]
Code = "https://github.com/zzstoatzz/mdxify"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = [
"*.egg-info",
".git",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".vscode",
"node_modules",
]
asyncio_mode = 'auto'
[tool.ruff]
target-version = "py310"
[tool.ruff.lint]
extend-select = ["I"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ['I', 'F401', 'E402']
"conftest.py" = ["F401", "F403"]
'tests/fixtures/*.py' = ['F403']
"src/mdxify/_version.py" = ['I001'] # Auto-generated file
[tool.ruff.format]
quote-style = "double"
skip-magic-trailing-comma = false
[tool.ty.environment]
python-version = "3.10"
root = ["src"]
[tool.ty.rules]
unresolved-import = "warn"
missing-argument = "error"
invalid-return-type = "error"
unresolved-attribute = "error"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/mdxify/_version.py"
[tool.uv.workspace]
members = [
"sandbox/rename-test",
]