Skip to content

Commit 9ebb2c5

Browse files
committed
chore(ruff): Limit ruff targets
1 parent c230950 commit 9ebb2c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ source = [
141141

142142
[tool.ruff]
143143
line-length = 99
144+
extend-exclude = [
145+
"wrapper/*.py",
146+
"docs/sphinxext/*",
147+
]
144148

145149
[tool.ruff.lint]
146150
extend-select = [
@@ -177,6 +181,7 @@ inline-quotes = "single"
177181

178182
[tool.ruff.lint.extend-per-file-ignores]
179183
"*/test_*.py" = ["S101"]
184+
"docs/conf.py" = ["A001"]
180185

181186
[tool.ruff.format]
182187
quote-style = "single"

0 commit comments

Comments
 (0)