-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (68 loc) · 1.84 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "sphinx-autodoc-vyper"
version = "0.1.0"
description = "Sphinx documentation generator for Vyper smart contracts"
readme = "README.md"
requires-python = ">=3.7"
license = "MIT"
authors = [
{ name = "Vyper Developer", email = "[email protected]" }
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"sphinx>=4.0.0",
"sphinx-rtd-theme>=1.0.0"
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=22.0.0",
"isort>=5.0.0",
"requests>=2.0.0",
"tox>=4.0.0",
"mypy>=1.0.0",
"ruff>=0.1.0"
]
[project.scripts]
sphinx-autodoc-vyper = "sphinx_autodoc_vyper.cli:main"
[project.urls]
Homepage = "https://github.com/BobTheBuidler/sphinx-autodoc-vyper"
Repository = "https://github.com/BobTheBuidler/sphinx-autodoc-vyper.git"
Documentation = "https://github.com/BobTheBuidler/sphinx-autodoc-vyper#readme"
[tool.hatch.build.targets.wheel]
packages = ["sphinx_autodoc_vyper"]
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.ruff]
lint.select = ["E", "F", "B", "I"]
lint.ignore = ["E501"]
target-version = "py310"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
check_untyped_defs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --cov=sphinx_autodoc_vyper"
testpaths = ["tests"]