-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (47 loc) · 1.21 KB
/
pyproject.toml
File metadata and controls
57 lines (47 loc) · 1.21 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
[project]
name = "arclet-cithun"
version = "1.3.2"
description = "A permission system modeled on the file permission system under Unix."
authors = [
{name = "RF-Tar-Railt", email = "rf_tar_railt@qq.com"},
]
dependencies = [
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
[tool.pdm.build]
includes = ["src/"]
[tool.black]
line-length = 120
target-version = ["py310", "py311", "py312", "py313", "py314"]
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.pyright]
pythonVersion = "3.10"
pythonPlatform = "All"
typeCheckingMode = "basic"
disableBytesTypePromotions = true
[tool.ruff]
line-length = 120
target-version = "py310"
include = ["src/**.py"]
respect-gitignore = true
[tool.ruff.lint]
select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q", "I"]
ignore = ["C901", "C408", "T201", "E731", "E402", "PYI055"]
[tool.ruff.lint.isort]
force-sort-within-sections = false
extra-standard-library = ["typing_extensions"]
[tool.pdm.scripts]
format = { composite = ["ruff check --select I --fix ./src/","black ./src/","ruff check ./src/"] }
[dependency-groups]
dev = [
"black>=26.5.0",
"ruff>=0.15.13",
]