/ pyproject.toml
pyproject.toml
 1  [build-system]
 2  requires = ["pdm-backend"]
 3  build-backend = "pdm.backend"
 4  
 5  [project]
 6  name = "docstrings2pep727"
 7  description = "Move documentation from docstrings to PEP 727 type annotations."
 8  authors = [{name = "Timothée Mazzucotelli", email = "pawamoy@pm.me"}]
 9  license = {text = "ISC"}
10  readme = "README.md"
11  requires-python = ">=3.8"
12  keywords = []
13  dynamic = ["version"]
14  classifiers = [
15      "Development Status :: 4 - Beta",
16      "Intended Audience :: Developers",
17      "Programming Language :: Python",
18      "Programming Language :: Python :: 3",
19      "Programming Language :: Python :: 3 :: Only",
20      "Programming Language :: Python :: 3.8",
21      "Programming Language :: Python :: 3.9",
22      "Programming Language :: Python :: 3.10",
23      "Programming Language :: Python :: 3.11",
24      "Programming Language :: Python :: 3.12",
25      "Topic :: Documentation",
26      "Topic :: Software Development",
27      "Topic :: Utilities",
28      "Typing :: Typed",
29  ]
30  dependencies = [
31      "libcst>=1.0.1",
32      "griffe>=0.35.2",
33  ]
34  
35  [project.urls]
36  Homepage = "https://pawamoy.github.io/docstrings2pep727"
37  Documentation = "https://pawamoy.github.io/docstrings2pep727"
38  Changelog = "https://pawamoy.github.io/docstrings2pep727/changelog"
39  Repository = "https://github.com/pawamoy/docstrings2pep727"
40  Issues = "https://github.com/pawamoy/docstrings2pep727/issues"
41  Discussions = "https://github.com/pawamoy/docstrings2pep727/discussions"
42  Gitter = "https://gitter.im/docstrings2pep727/community"
43  Funding = "https://github.com/sponsors/pawamoy"
44  
45  [project.scripts]
46  docstrings2pep727 = "docstrings2pep727.cli:main"
47  
48  [tool.pdm]
49  version = {source = "scm"}
50  plugins = [
51      "pdm-multirun",
52  ]
53  
54  [tool.pdm.build]
55  package-dir = "src"
56  editable-backend = "editables"
57  
58  [tool.pdm.dev-dependencies]
59  duty = ["duty>=0.10"]
60  ci-quality = ["docstrings2pep727[duty,docs,quality,typing,security]"]
61  ci-tests = ["docstrings2pep727[duty,tests]"]
62  docs = [
63      "black>=23.9",
64      "markdown-callouts>=0.3",
65      "markdown-exec>=1.7",
66      "mkdocs>=1.5",
67      "mkdocs-coverage>=1.0",
68      "mkdocs-gen-files>=0.5",
69      "mkdocs-git-committers-plugin-2>=1.2",
70      "mkdocs-literate-nav>=0.6",
71      "mkdocs-material>=9.4",
72      "mkdocs-minify-plugin>=0.7",
73      "mkdocstrings[python]>=0.23",
74      "tomli>=2.0; python_version < '3.11'",
75  ]
76  maintain = [
77      "black>=23.9",
78      "blacken-docs>=1.16",
79      "git-changelog>=2.3",
80  ]
81  quality = [
82      "ruff>=0.0",
83  ]
84  tests = [
85      "pytest>=7.4",
86      "pytest-cov>=4.1",
87      "pytest-randomly>=3.15",
88      "pytest-xdist>=3.3",
89  ]
90  typing = [
91      "mypy>=1.5",
92      "types-markdown>=3.5",
93      "types-pyyaml>=6.0",
94  ]
95  security = [
96      "safety>=2.3",
97  ]