-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
89 lines (76 loc) · 1.94 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "sphinx-gitref"
description = "Keep your sphinx docs in sync with your code."
dynamic = ["version"]
authors = [
{ name="Richard Terry", email="[email protected]" },
]
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Sphinx :: Extension",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
keywords = ["django"]
requires-python = ">=3.7"
dependencies = [
"click",
"docutils",
"sphinx",
]
[project.scripts]
sphinx-gitref = "sphinx_gitref.commands:invoke"
[project.urls]
Homepage = "https://radiac.net/projects/sphinx-gitref/"
Documentation = "https://sphinx-gitref.readthedocs.io/"
Changelog = "https://github.com/radiac/sphinx-gitref"
Repository = "https://github.com/radiac/sphinx-gitref"
Issues = "https://github.com/radiac/sphinx-gitref/issues"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["sphinx_gitref*"]
exclude = ["docs*", "tests*", "examples*", "src*", "dist*"]
[tool.setuptools.dynamic]
version = {attr = "sphinx_gitref.__version__"}
[tool.pytest.ini_options]
addopts = "--cov=sphinx_gitref --cov-report=term --cov-report=html"
testpaths = [
"tests",
"sphinx_gitref",
]
pythonpath = ["."]
[tool.coverage.run]
source = ["sphinx_gitref"]
[tool.black]
line-length = 88
target-version = ["py311"]
include = "\\.pyi?$"
[tool.isort]
multi_line_output = 3
line_length = 88
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
include_trailing_comma = true
lines_after_imports = 2
skip = [".git"]
[tool.mypy]
follow_imports = "skip"
ignore_missing_imports = true
[tool.doc8]
max-line-length = 88
ignore-path = ["*.txt"]
[tool.ruff]
line-length = 88
lint.select = ["E", "F"]
lint.ignore = [
"E501", # line length
]
exclude = [
".git",
"dist",
]