Skip to content

Commit 28f316f

Browse files
ruff should skip vendored files
This setting had been forgotten when shifting from black to ruff in 83b77e5.
1 parent 1e00742 commit 28f316f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,6 @@ exclude = [
6868
"**/__pycache__",
6969
]
7070

71-
[tool.black]
72-
extend-exclude = '''
73-
^/src/wheel/vendored/
74-
'''
75-
7671
[tool.pytest.ini_options]
7772
minversion = "6.0"
7873
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
@@ -91,6 +86,9 @@ omit = ["*/vendored/*"]
9186
[tool.coverage.report]
9287
show_missing = true
9388

89+
[tool.ruff]
90+
extend-exclude = ['src/wheel/vendored/']
91+
9492
[tool.ruff.lint]
9593
extend-select = [
9694
"B", # flake8-bugbear

0 commit comments

Comments
 (0)