-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (77 loc) · 1.69 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (77 loc) · 1.69 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
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.setuptools]
packages = { find = { where = ["."], include = ["pie*"] } }
[build-system]
requires = ["setuptools ~=82.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pie"
version = "0.1.0"
description = "Project Intelligence Engine for managing and reasoning about project data"
authors = [{ name = "Andrew Wray", email = "andrew@denseanalysis.org" }]
license = "MIT"
readme = "README.md"
requires-python = ">=3.15.0a8,<3.16"
dependencies = [
"clickhouse-connect",
"PyGithub",
]
[project.scripts]
pie = "pie.__main__:main"
pie-similar = "pie.similar:main"
[dependency-groups]
dev = [
"pyright",
"pytest",
"ruff",
]
[tool.pyright]
venvPath = "./"
venv = ".venv"
pythonVersion = "3.15"
extraPaths = ["."]
reportMissingImports = true
reportMissingModuleSource = "error"
reportMissingTypeStubs = false
reportUnknownMemberType = false
typeCheckingMode = "strict"
[tool.ruff]
line-length = 79
preview = true
target-version = "py315"
lint.select = [
"E",
"W",
"I",
"B",
"A",
"COM",
"ASYNC",
"FBT",
"F",
"FAST",
"RUF",
"UP",
"C90",
]
lint.ignore = [
"B911",
"COM812",
]
[tool.ruff.lint.mccabe]
max-complexity = 20
[tool.ruff.lint.isort]
combine-as-imports = true
force-wrap-aliases = true
split-on-trailing-comma = true
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "--strict-markers --tb=short"
testpaths = ["tests"]
python_files = ["test_*.py"]
markers = [
"slow: mark slow tests",
"integration: mark integration tests",
"allow_network: allow network connections for this test",
"unit: mark unit tests",
]