-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (84 loc) · 3.05 KB
/
pyproject.toml
File metadata and controls
93 lines (84 loc) · 3.05 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
[project]
name = "ttk-text"
version = "0.3.3"
description = "Themed Tkinter Text widget with modern styling support."
authors = [{ name = "Jesse205", email = "jesse205@qq.com" }]
maintainers = [{ name = "Jesse205", email = "jesse205@qq.com" }]
dependencies = []
requires-python = ">=3.8"
readme = "README_pypi.md"
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: Microsoft :: Windows",
"Operating System :: Microsoft :: Windows :: Windows 11",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: Microsoft :: Windows :: Windows 8.1",
"Operating System :: Microsoft :: Windows :: Windows 8",
"Operating System :: Microsoft :: Windows :: Windows 7",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 2 - Pre-Alpha",
]
keywords = ["ttk", "ttk-text", "tkinter", "tkinter-text", "tk", "tk-text"]
import-names = ["ttk_text"]
[project.urls]
Repository = "https://github.com/hellotool/ttk-text"
Tracker = "https://github.com/hellotool/ttk-text/issues"
Changelog = "https://github.com/hellotool/ttk-text/releases"
[dependency-groups]
test = ["pytest>=8.3.4"]
example = ["sv-ttk>=2.6.0"]
lint = ["pyright>=1.1.407", "ruff>=0.14.10"]
[build-system]
requires = ["uv_build>=0.11.3,<0.12"]
build-backend = "uv_build"
[tool.uv]
required-version = ">=0.10.1"
default-groups = "all"
[tool.ruff]
line-length = 120
extend-exclude = ["external-themes/**"]
[tool.ruff.lint]
ignore = [
"ANN401", # Any is sometimes unavoidable due to the lack of generics
"D100", # Documentation is not always required
"D101",
"D102",
"D103",
"D104",
"D107",
"FA100", # No documentation found explaining this behavior
"PLC0415", # Imports need to be placed inside functions to prevent compatibility issues or unnecessary code execution
"FBT001", # Named arguments are not required when setting a single value
"FBT003",
"ICN001", # Abbreviations often have ambiguous semantics and should be avoided whenever possible
"PLR0913", # Having many arguments is not a problem; the problem is having many arguments without using named arguments
"PLR2004", # Sometimes, simple length checks or common status codes do not require constants
"ANN003", # Cannot be enforced
"ANN202",
"ANN204",
"COM812", # May conflict with the formatter
"TRY003", # Not necessary
"EM101",
"EM102",
]
select = ["ALL"]
exclude = ["tests/**"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.ruff.format]
docstring-code-format = true
line-ending = "lf"
[tool.pytest.ini_options]
testpaths = ["tests"]
log_cli = true
log_cli_level = "INFO"