-
Notifications
You must be signed in to change notification settings - Fork 500
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (103 loc) · 3.34 KB
/
pyproject.toml
File metadata and controls
127 lines (103 loc) · 3.34 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
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
119
120
121
122
123
124
125
126
127
# there is no Python project,
# this file is just for configuring tools used in Python tests
[tool.inline-snapshot]
format-command = "pixi run -e lint ruff format --stdin-filename {filename}"
test-dir = "tests/integration_python"
[tool.pytest.ini_options]
addopts = "--basetemp=pytest-temp --timeout=600 --durations=0"
tmp_path_retention_policy = "failed"
testpaths = ["tests/integration_python"]
markers = [
"slow: marks tests as slow",
"extra_slow: marks tests as extra slow",
]
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.format]
indent-style = "space"
quote-style = "double"
[tool.tbump]
github_url = "https://github.com/prefix-dev/pixi"
[tool.tbump.version]
current = "0.67.2"
# Example of a semver regexp.
# Make sure this matches current_version before
# using tbump
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
(rc
(?P<candidate>\d+)
)?
'''
[tool.tbump.git]
# The current version will get updated when tbump is run
message_template = "Bump version: {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "CITATION.cff"
[[tool.tbump.file]]
search = '^version = "{current_version}"'
src = "crates/pixi/Cargo.toml"
[[tool.tbump.file]]
search = "pixi-version: v{current_version}"
src = "docs/integration/ci/github_actions.md"
[[tool.tbump.file]]
search = "ARG PIXI_VERSION=v{current_version}"
src = "docs/integration/editor/vscode.md"
[[tool.tbump.file]]
search = "/pixi.sh/v{current_version}/"
src = "schema/schema.json"
[[tool.tbump.file]]
search = "/pixi.sh/v{current_version}/"
src = "schema/pyproject/schema.json"
[[tool.tbump.file]]
search = "Generated from `pixi` v{current_version}"
src = "schema/pyproject/partial-pixi.json"
[[tool.tbump.file]]
search = "Version: v{current_version}"
src = "install/install.sh"
[[tool.tbump.file]]
search = "Version: v{current_version}"
src = "install/install.ps1"
[[tool.tbump.file]]
search = "PIXI_VERSION = \"{current_version}\""
src = "tests/integration_python/common.py"
[[tool.tbump.file]]
search = "None => \"{current_version}\","
src = "crates/pixi_consts/src/consts.rs"
[[tool.tbump.file]]
search = "ghcr.io/prefix-dev/pixi:{current_version}"
src = "docs/deployment/container.md"
[[tool.tbump.field]]
# the name of the field
name = "candidate"
# the default value to use, if there is no match
default = ""
[tool.basedpyright]
ignore = [
"**/*.ipynb",
"**/docs_hooks.py",
"scripts/test_native_certs.py",
"pixi-build-backends",
"tests/data",
"site",
"output",
"target",
"pytest-temp",
]
pythonPlatform = "All"
pythonVersion = "3.13"
typeCheckingMode = "all"
reportAny = false
reportExplicitAny = false
reportUnnecessaryIsInstance = false
reportUnusedCallResult = false
executionEnvironments = [
{ root = "docs", reportMissingImports = false, reportMissingModuleSource = false, reportUnknownVariableType = false, reportUnknownMemberType = false, reportUnusedCallResult = false, reportUnknownArgumentType = false },
{ root = "examples", reportMissingImports = false, reportMissingModuleSource = false, reportCallIssue = false, reportArgumentType = false, reportAttributeAccessIssue = false, reportUnknownMemberType = false, reportUnknownVariableType = false, reportUnknownParameterType = false, reportUnknownArgumentType = false, reportUnusedCallResult = false, reportMissingParameterType = false, reportUntypedFunctionDecorator = false },
]