-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (34 loc) · 960 Bytes
/
Copy pathpyproject.toml
File metadata and controls
39 lines (34 loc) · 960 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
[project]
name = "body-course"
version = "1.0.0"
description = "體態矯正課程 — 策展 371 個單元的課程網站,含 YouTube 影片驗證與 PubMed 實證查核"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
# 建置腳本刻意只用標準庫:沒有相依就沒有供應鏈風險,
# 任何人 clone 下來不裝東西也跑得起來。
dependencies = []
[dependency-groups]
dev = ["ruff>=0.12"]
[tool.ruff]
line-length = 100
target-version = "py311"
extend-exclude = [".tmp", ".wrangler", "public"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"RUF", # ruff 專屬(含全形標點檢查)
]
ignore = [
"E501", # 行長交給 formatter
"RUF001", # 註解與字串大量使用中文全形標點,這是刻意的
"RUF002",
"RUF003",
]
[tool.ruff.format]
quote-style = "double"