-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
106 lines (90 loc) · 2.31 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[tool.poetry]
name = "sphinx-artisan-theme"
version = "0.1.0"
description = ""
authors = ["Daniel Knell <contact@danielknell.co.uk>"]
readme = "README.md"
packages = [{include = "sphinx_artisan_theme", from = "src"}]
[tool.poetry.dependencies]
python = "^3.9"
Sphinx = ">=4.4,<8.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.1.1"
sphinx-autobuild = "^2021.3.14"
shed = ">=0.9.4,<2023.7.0"
sphinx-lint = ">=0.2,<0.7"
restructuredtext-lint = "^1.4.0"
myst-parser = ">=0.17,<2.1"
autodocsumm = "^0.2.7"
pylint = "^2.13.5"
mypy = ">=0.942,<1.5"
types-docutils = ">=0.18.3,<0.21.0"
types-pkg-resources = "^0.1.3"
pytest-pylint = ">=0.18,<0.20"
pytest-mypy = ">=0.9.1,<0.11.0"
pytest-pydocstyle = "^2.3.0"
pytest-cov = ">=3,<5"
typeguard = ">=2.13.3,<5.0.0"
pyenchant = "^3.2.2"
[tool.poetry.plugins."sphinx.html_themes"]
"sphinx_artisan_theme" = "sphinx_artisan_theme"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
multi_line_output = 3
known_localfolder = ['tests']
[tool.pylint.master]
load-plugins = [
"pylint.extensions.bad_builtin",
"pylint.extensions.mccabe",
"pylint.extensions.docstyle",
"pylint.extensions.check_elif",
"pylint.extensions.eq_without_hash",
"pylint.extensions.private_import",
"pylint.extensions.redefined_variable_type",
"pylint.extensions.overlapping_exceptions",
"pylint.extensions.docparams",
"pylint.extensions.empty_comment",
"pylint.extensions.set_membership",
"pylint.extensions.typing",
"pylint.extensions.while_used",
]
[tool.pylint.basic]
good-names = ["i", "j", "k", "ex", "Run", "_", "to"]
[tool.pylint.messages_control]
disable = [
"docstring-first-line-empty",
]
[tool.pylint.format]
max-line-length = 88
[tool.pylint.spelling]
spelling-dict = "en_GB"
spelling-private-dict-file = ".dictionary"
[tool.pylint.similarities]
ignore-signatures = true
ignore-imports = true
[tool.pytest.ini_options]
testpaths = "tests"
filterwarnings = [
"error",
"ignore::pytest.PytestRemovedIn8Warning",
"ignore::DeprecationWarning:pylint.*"
]
[tool.pylint.parameter_documentation]
default-docstring-type = "sphinx"
[tool.mypy]
strict = true
[tool.pydocstyle]
add-ignore = [
"D102",
"D105",
"D107",
"D200",
"D212",
]
[tool.coverage.run]
omit = [
"*/site-packages/*",
]