forked from co3moz/minecraft-render
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
118 lines (103 loc) · 2.81 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-nodejs-version"]
build-backend = "hatchling.build"
[project]
name = "minecraft-render"
dynamic = ["version"]
description = "Minecraft block/texture rendering with node.js and Python via JSPyBridge."
authors = [
{ name="object-Object", email="object@objectobject.ca" },
{ name="co3moz", email="doganderya59@gmail.com" },
]
readme = "README.md"
license = { file = "LICENSE.md" }
requires-python = ">=3.11"
dependencies = [
"javascript~=1!1.0",
"importlib_resources~=6.0",
]
[project.optional-dependencies]
dev = [
"black==23.7.0",
"isort==5.12.0",
"hatch",
]
[tool.hatch.version]
source = "nodejs"
[tool.hatch.build]
directory = "dist/py"
artifacts = [
"src/minecraft_render/__npm_version__.py",
]
[tool.hatch.build.hooks.custom]
path = "hatch_build.py"
py-path = "src/minecraft_render/__npm_version__.py"
[tool.hatch.build.targets.sdist]
only-include = [
"src/minecraft_render",
"package.json",
]
[tool.hatch.build.targets.wheel]
packages = [
"src/minecraft_render",
]
[tool.isort]
profile = "black"
combine_as_imports = true
known_first_party = [
"minecraft_render",
]
[tool.pyright]
pythonVersion = "3.11"
pythonPlatform = "All"
include = [
"src/minecraft_render",
]
exclude = [
"venv",
"node_modules",
]
enableExperimentalFeatures = true
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"
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"