forked from alex-rudakov/sphinx-argparse
/
pyproject.toml
71 lines (61 loc) · 1.59 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
[tool.poetry]
name = "sphinx-argparse"
version = "0.4.0"
description = "A sphinx extension that automatically documents argparse commands and options"
readme = "README.md"
repository = "https://github.com/ashb/sphinx-argparse"
authors = ["Ash Berlin-Taylor <ash_github@firemirror.com>"]
license = "MIT"
classifiers = [
"Framework :: Sphinx :: Extension",
]
packages = [
{ include = "sphinxarg" },
{ include = "test", format = "sdist" },
]
[tool.poetry.dependencies]
python = ">=3.7,<4"
sphinx = ">=4.0.0"
CommonMark = { version = ">=0.5.6", optional = true }
[tool.poetry.extras]
markdown = ["CommonMark"]
[tool.poetry.group.dev.dependencies]
flake8 = "^5.0"
pytest = "^7.2"
pytest-deadfixtures = "^2.2"
flake8-bugbear = "^22.10.27"
black = {version = "^22", python = ">=3.6.2"}
mypy = "^0.910"
types-docutils = "^0.17.0"
pep8-naming = "^0.13"
coverage = "^6.5"
lxml = "^4.9.2"
lxml-stubs = "^0.4.0"
[tool.poetry.group.dev.dependencies.isort]
version = "^5.10"
markers = "python_version < '4.0'"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 160
skip-string-normalization = true
[tool.isort]
balanced_wrapping = true
default_section = "THIRDPARTY"
include_trailing_comma = true
known_first_party = [ "sphinxarg", "test" ]
line_length = 160
multi_line_output = 3
[[tool.mypy.overrides]]
module = [
"commonmark.*",
"CommonMark.*",
"docutils.parsers.rst.directives",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--strict-markers --tb=short"
[tool.coverage.run]
omit = ["tests/*","**/__main__.py"]
branch = true