-
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (58 loc) · 1.53 KB
/
pyproject.toml
File metadata and controls
67 lines (58 loc) · 1.53 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
[tool.poetry]
name = "sphinx-argparse"
version = "0.3.2"
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.6"
sphinx = ">=1.2.0"
CommonMark = { version = ">=0.5.6", optional = true }
[tool.poetry.extras]
markdown = ["CommonMark"]
[tool.poetry.dev-dependencies]
flake8 = "*"
pytest = "*"
pytest-cov = "^2.7"
pytest-deadfixtures = "^2.2.1"
flake8-colors = "^0.1.9"
flake8-bugbear = "^19.8"
black = {version = "^21.8b0", allow-prereleases = true, python = ">=3.6.2"}
isort = {version = "^5.8.0", python = "^3.6"}
mypy = "^0.910"
types-docutils = "^0.17.0"
pep8-naming = "^0.8.2"
[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"
[tool.coverage.run]
omit = ["tests/*","**/__main__.py"]
branch = true