-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
118 lines (99 loc) · 2.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[build-system]
requires = [
"hatchling",
"hatch-gradle-version>=0.8.0",
]
build-backend = "hatchling.build"
# project metadata
[project]
name = "hexdoc-hexways"
description = "Python web book docgen and hexdoc plugin for Hex Ways."
readme = "doc/README.md"
authors = [
{ name="Stickia" },
]
keywords = ["hexdoc"]
requires-python = ">=3.11"
dynamic = ["version", "dependencies", "optional-dependencies"]
[project.urls]
Homepage = "https://stickia.github.io/hexways/"
Source = "https://github.com/Stickia/hexways"
# Gradle version/deps
[tool.hatch.version]
scheme = "gradle"
source = "gradle-properties"
py-path = "doc/src/hexdoc_hexways/__version__.py"
key = "6.1"
[tool.hatch.metadata.hooks.gradle-properties]
dependencies = [
{ package="hexdoc-hexcasting", op="~=", py-version="1.0.dev20", key="hexcastingVersion" },
]
[tool.hatch.metadata.hooks.gradle-properties.optional-dependencies]
dev = [
"ruff~=0.1.4",
]
# directory inclusion
[tool.hatch.build]
only-include = [
"doc/src/hexdoc_hexways",
"gradle.properties",
]
artifacts = [
"/doc/src/hexdoc_hexways/_export/generated",
"/doc/src/hexdoc_hexways/__gradle_version__.py",
]
[tool.hatch.build.targets.wheel]
sources = ["doc/src"]
# hexdoc entry points
[project.entry-points.hexdoc]
hexways = "hexdoc_hexways._hooks:hexwaysPlugin"
# linting
[tool.pyright]
pythonVersion = "3.11"
pythonPlatform = "All"
include = ["doc/src"]
extraPaths = ["doc/src"]
typeCheckingMode = "basic"
strictDictionaryInference = true
strictListInference = true
strictSetInference = true
reportAssertAlwaysTrue = "error"
reportConstantRedefinition = "error"
reportDeprecated = "error"
reportDuplicateImport = "error"
reportFunctionMemberAccess = "error"
reportIncompatibleMethodOverride = "error"
reportIncompatibleVariableOverride = "error"
reportIncompleteStub = "error"
reportInconsistentConstructor = "error"
reportInvalidStringEscapeSequence = "error"
reportInvalidStubStatement = "error"
reportInvalidTypeVarUse = "error"
reportMatchNotExhaustive = "error"
reportMissingParameterType = "error"
reportMissingTypeStubs = "error"
reportOverlappingOverload = "error"
reportSelfClsParameterName = "error"
reportTypeCommentUsage = "error"
reportUnknownParameterType = "error"
reportUnnecessaryCast = "error"
reportUnnecessaryContains = "error"
reportUnsupportedDunderAll = "error"
reportUntypedBaseClass = "error"
reportUntypedClassDecorator = "error"
reportUntypedFunctionDecorator = "error"
reportUntypedNamedTuple = "error"
reportWildcardImportFromLibrary = "error"
reportMissingTypeArgument = "warning"
reportPrivateUsage = "warning"
reportUnknownArgumentType = "warning"
reportUnknownLambdaType = "warning"
reportUnknownMemberType = "warning"
reportUnknownVariableType = "warning"
reportUnnecessaryComparison = "warning"
reportUnnecessaryIsInstance = "warning"
reportUnusedClass = "warning"
reportUnusedExpression = "warning"
reportUnusedFunction = "warning"
reportUnusedImport = "warning"
reportUnusedVariable = "warning"