-
-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (31 loc) · 870 Bytes
/
Copy pathpyproject.toml
File metadata and controls
40 lines (31 loc) · 870 Bytes
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
[project]
name = "package-dev"
version = "0.0.0"
description = "The Sublime Text meta package"
requires-python = ">=3.8"
# Version is pinned to 5.1.1. for runtimes below 3.13
# because that is what is provided by Package Control.
# See also https://github.com/packagecontrol/channel/pull/103
dependencies = [
"pyyaml==5.1.1; python_version < '3.13'",
"pyyaml>=6.0.3; python_version >= '3.13'",
]
[dependency-groups]
dev = [
"ruff",
"ty>=0.0.58",
]
[tool.ruff]
line-length = 99
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.ruff.format]
quote-style = "preserve"
[tool.ty.analysis]
allowed-unresolved-imports = ["sublime", "sublime_plugin", "sublime_lib.**"]
[tool.ty.environment]
# ST considers the "parent" Packages folder to be the root.
root = ["../"]
[tool.ty.rules]
missing-type-argument = "warn"
possibly-unresolved-reference = "error"