forked from mkdocstrings/pytkdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
107 lines (99 loc) · 2.8 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
[project]
name = "pytkdocs"
version = {use_scm = true}
description = "Load Python objects documentation."
authors = [{name = "Timothée Mazzucotelli", email = "pawamoy@pm.me"}]
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.6.1"
keywords = ["python", "source", "signature", "docs"]
dynamic = ["version", "classifiers"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: ISC License (ISCL)",
"Typing :: Typed",
]
dependencies = [
"astunparse~=1.6; python_version < '3.9'",
"cached-property~=1.5; python_version < '3.8'",
"dataclasses>=0.7,<0.9; python_version < '3.7'",
"typing-extensions~=3.7; python_version < '3.8'",
]
[project.optional-dependencies]
numpy-style = [
"docstring_parser~=0.7",
]
[project.urls]
Homepage = "https://pawamoy.github.io/pytkdocs"
Documentation = "https://pawamoy.github.io/pytkdocs"
Changelog = "https://pawamoy.github.io/pytkdocs/changelog"
Repository = "https://github.com/pawamoy/pytkdocs"
Issues = "https://github.com/pawamoy/pytkdocs/issues"
Discussions = "https://github.com/pawamoy/pytkdocs/discussions"
Gitter = "https://gitter.im/pytkdocs/community"
Funding = "https://github.com/sponsors/pawamoy"
[project.scripts]
pytkdocs = "pytkdocs.cli:main"
[tool.pdm]
package-dir = "src"
[tool.pdm.dev-dependencies]
duty = ["duty~=0.6"]
docs = [
"mkdocs~=1.1; python_version >= '3.7'",
"mkdocs-coverage~=0.2; python_version >= '3.7'",
"mkdocs-gen-files~=0.3; python_version >= '3.7'",
"mkdocs-literate-nav~=0.4; python_version >= '3.7'",
"mkdocs-material~=7.1; python_version >= '3.7'",
"mkdocstrings~=0.16; python_version >= '3.7'",
"toml~=0.10; python_version >= '3.7'",
]
format = [
"autoflake~=1.4",
"black~=20.8b1",
"isort~=5.8",
]
maintain = [
# TODO: remove this section when git-changelog is more powerful
"git-changelog~=0.4",
]
quality = [
"darglint~=1.7",
"flake8-bandit~=2.1",
"flake8-black~=0.2",
"flake8-bugbear~=21.3",
"flake8-builtins~=1.5",
"flake8-comprehensions~=3.4",
"flake8-docstrings~=1.6",
"flake8-pytest-style~=1.4",
"flake8-string-format~=0.3",
"flake8-tidy-imports~=4.2",
"flake8-variables-names~=0.0",
"pep8-naming~=0.11",
"wps-light~=0.15",
]
tests = [
"pytest~=6.2",
"pytest-cov~=2.11",
"pytest-randomly~=3.6",
"pytest-sugar~=0.9",
"pytest-xdist~=2.2",
"django~=3.2",
"marshmallow~=3.13",
"pydantic~=1.8",
]
typing = ["mypy~=0.812"]
[tool.black]
line-length = 120
exclude = "tests/fixtures"
[tool.isort]
line_length = 120
not_skip = "__init__.py"
multi_line_output = 3
force_single_line = false
balanced_wrapping = true
default_section = "THIRDPARTY"
known_first_party = "pytkdocs"
include_trailing_comma = true