mirror of
https://github.com/Canner/WrenAI.git
synced 2026-08-29 08:18:10 +08:00
chore: exclude Markdown from ruff format scope (#2589)
This commit is contained in:
@@ -47,6 +47,8 @@ build-backend = "maturin"
|
||||
line-length = 88
|
||||
target-version = "py311"
|
||||
exclude = ["tools/"]
|
||||
# ruff 0.16+ formats Markdown code blocks by default; docs are hand-formatted.
|
||||
extend-exclude = ["*.md"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
|
||||
@@ -89,6 +89,8 @@ artifacts = [
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
target-version = "py311"
|
||||
# ruff 0.16+ formats Markdown code blocks by default; docs are hand-formatted.
|
||||
extend-exclude = ["*.md"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "PLC"]
|
||||
|
||||
@@ -99,6 +99,8 @@ packages = ["src/wren_langchain"]
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
target-version = "py311"
|
||||
# ruff 0.16+ formats Markdown code blocks by default; docs are hand-formatted.
|
||||
extend-exclude = ["*.md"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "PLC"]
|
||||
|
||||
@@ -95,6 +95,8 @@ packages = ["src/wren_pydantic"]
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
target-version = "py311"
|
||||
# ruff 0.16+ formats Markdown code blocks by default; docs are hand-formatted.
|
||||
extend-exclude = ["*.md"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "PLC"]
|
||||
|
||||
Reference in New Issue
Block a user