-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
61 lines (49 loc) · 1.17 KB
/
pyproject.toml
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
[project]
name = "ricecake"
version = "0.1.0"
description = "Fuzzy / incremental search for Korean texts."
authors = [{ name = "WieeRd", email = "[email protected]" }]
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
dependencies = []
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.dev-dependencies]
lint = ["ruff"]
[tool.ruff]
output-format = "grouped"
[tool.ruff.lint]
extend-select = [
"C90", # mccabe
"N", # pep8-naming
"UP", # pyupgrade
"ANN001", "ANN2", # annotations
"ASYNC", # async
"BLE", # blind-except
"FBT", # boolean-trap
"B", # bugbear
"A", # builtin
"COM818", "COM819", # commas
"C4", # comprehensions
"ISC", # implicit-str-concat
"G", # logging-format
"INP", # no-pep420
"PIE", # pie
"RET", # return
"SIM", # simplify
"TCH", # type-checking
"PGH003", "PGH004", # pygrep-hooks
"RUF", # ruff
]
# allow wildcard imports in `__init__.py`
per-file-ignores = { "__init__.py" = ["F403"] }
[tool.ruff.format]
preview = true
[tool.pyright]
pythonVersion = "3.10"
include = ["ricecake"]
strict = ["ricecake"]