-
Notifications
You must be signed in to change notification settings - Fork 144
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (39 loc) · 1.53 KB
/
pyproject.toml
File metadata and controls
45 lines (39 loc) · 1.53 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
# Copyright 2025-Present Couchbase, Inc.
#
# Use of this software is governed by the Business Source License included
# in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
# in that file, in accordance with the Business Source License, use of this
# software will be governed by the Apache License, Version 2.0, included in
# the file licenses/APL2.txt.
[project] # this isn't a real project, but we need this to make the tools work
name = "sgcollect_info"
version = "0.0.1"
requires-python = ">=3.13,<3.14" # miniconda pyinstaller is pinned to python 3.13
[tool.mypy]
files = ["tools/sgcollect_info", "tools-tests/*.py", "tools/*.py"]
check_untyped_defs = false # candidate for removal in the future
disable_error_code = [
"type-arg", # candidate for removal in the future
]
disallow_incomplete_defs = false # candidate for removal in the future
disallow_untyped_calls = false # candidate for removal in the future
disallow_untyped_defs = false # candidate for removal in the future
strict = true # mypy has stricter warnings
warn_return_any = false # candidate for removal in the future
warn_unused_configs = true # validates this file
warn_unreachable = true # candidate for removal in the future
[tool.pyright]
extraPaths = ["tools"]
[tool.ruff]
extend-include = ["tools/sgcollect_info"]
[tool.ruff.lint]
extend-select = ["I", "B006"] # isort, mutable default argument
# test only dependencies
[dependency-groups]
dev = [
"mypy>=1.19.1",
"pytest>=9.0.3",
"pytest-httpserver>=1.1.3",
"ruff>=0.14.13",
"trustme>=1.2.1",
]