-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
88 lines (74 loc) · 2.17 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
[tool.poetry]
name = "sphinx-cache"
# !! Don't miss updates in version.py, and changelog.rst!!!
version = "0.0.1"
description = "Sphinx extension for storing and restoring `.doctree` cache."
authors = ["team useblocks <[email protected]>"]
license = "MIT"
readme = "README.rst"
repository = "https://github.com/useblocks/sphinx-cache"
documentation = "http://sphinx-cache.useblocks.com"
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Documentation',
'Topic :: Utilities',
'Topic :: Software Development :: Build Tools',
]
packages = [
{include = "sphinx_cache"}
]
[tool.poetry.dependencies]
colorama = ">=0.4.6"
python = ">=3.8.0,<4.0"
pathlib = ">=1.0.1"
sphinx = ">=5.0"
[tool.poetry.dev-dependencies]
myst-parser="^0.18.0"
pre-commit = "^2"
# test dependencies
pytest = "^7"
pytest-xdist="*" # parallelisation
# type checking
docutils-stubs = "^0.0.22"
mypy = "^0.991"
types-requests = "^2.27.25"
types-setuptools = "^65.6.0.2"
# formatting dependencies
black = "^22.3"
isort = "^5.7.0"
# pyparsing 3.0.5 does not work with current "packaging" lib
pyparsing = "^3.0.9" # 3.0.5 error: https://github.com/pyparsing/pyparsing/issues/329
[tool.pytest.ini_options]
console_output_style = "count"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
[tool.mypy]
files = "sphinx_cache"
ignore_missing_imports = true
implicit_reexport = true
namespace_packages = true
show_error_codes = true
strict = true
warn_unused_ignores = false
[[tool.mypy.overrides]]
ignore_errors = true
module = [
'sphinx_cache.setup',
'sphinx_cache.logging',
'sphinx_cache.utils',
'sphinx_cache.version'
]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["setuptools", "poetry_core>=1.0.8"] # setuptools