Skip to content

Commit 40a773b

Browse files
committed
Exclude .pyi/.md from ruff in editor & config
1 parent e3148b3 commit 40a773b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@
1313
"editor.codeActionsOnSave": {
1414
"source.fixAll": "explicit",
1515
"source.organizeImports": "explicit"
16-
},
16+
}
1717
},
1818
"[markdown]": {
1919
"editor.formatOnSave": false
2020
},
21+
"ruff.format.args": ["--exclude", "*.pyi", "--exclude", "*.md"],
22+
"ruff.lint.args": ["--exclude", "*.pyi", "--exclude", "*.md"],
2123
"python.testing.pytestArgs": ["tests"],
2224
"python.testing.unittestEnabled": false,
2325
"python.testing.pytestEnabled": true,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ testpaths = ["tests"]
136136
line-length = 100
137137

138138
[tool.ruff.lint]
139-
exclude = ["docs", ".venv", "tests/*"]
139+
exclude = ["docs", ".venv", "tests/*", "pointblank/validate.pyi"]
140140

141141
ignore = [
142142
"E402", # module level import not at top of file

0 commit comments

Comments
 (0)