Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (57 loc) · 1.64 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (57 loc) · 1.64 KB
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
[project]
name = "kscli"
version = "1.3.1"
description = "Add your description here"
readme = "README.md"
license = "MIT"
requires-python = ">=3.12"
authors = [{ name = "Knowledge Stack", email = "support@knowledgestack.com" }]
urls = { Repository = "https://github.com/knowledgestack/ks-cli" }
dependencies = [
"certifi>=2026.1.4",
"click>=8.3.1",
"ksapi>=1.25.0",
"rich>=14.3.3",
]
[project.scripts]
kscli = "kscli.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/kscli"]
[dependency-groups]
dev = [
"basedpyright>=1.38.1",
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"pytest-xdist>=3.8.0",
"ruff>=0.15.2",
]
# Pyright configuration - strict type checking
[tool.basedpyright]
include = ["src/"]
pythonVersion = "3.12"
typeCheckingMode = "standard"
useLibraryCodeForTypes = true
# Add the project root to the Python path so imports work correctly
reportGeneralTypeIssues = "error"
reportOptionalMemberAccess = "error"
reportOptionalCall = "error"
reportOptionalIterable = "error"
reportOptionalContextManager = "error"
reportOptionalOperand = "error"
reportTypedDictNotRequiredAccess = "error"
reportPrivateImportUsage = "error"
reportConstantRedefinition = "error"
reportIncompatibleMethodOverride = "error"
reportIncompatibleVariableOverride = "error"
reportInconsistentConstructor = "error"
reportOverlappingOverload = "error"
reportMissingTypeArgument = "error"
reportAny = "none"
reportMissingImports = "error"
reportMissingTypeStubs = "error"
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["e2e: end-to-end tests requiring a running backend"]