Skip to content

Commit

Permalink
ruff: extend-exclude → exclude
Browse files Browse the repository at this point in the history
There is no such thing as extend-include, at least in ruff 0.1.11:

	ruff failed
	  Cause: Failed to parse /path/to/ruff.toml
	  Cause: TOML parse error at line 1, column 1
	  |
	1 | [lint]
	  | ^^^^^^
	unknown field `extend-exclude`
  • Loading branch information
DimitriPapadopoulos committed Jan 5, 2024
1 parent 25b57b4 commit eec3023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ extend-ignore = [
"UP032", # temporarily disabled
"UP036", # temporarily disabled
]
extend-exclude = [
exclude = [
"**/_vendor",
"setuptools/_distutils",
"setuptools/config/_validate_pyproject",
]

[format]
extend-exclude = [
exclude = [
"**/_vendor",
"setuptools/_distutils",
"setuptools/config/_validate_pyproject",
Expand Down

0 comments on commit eec3023

Please sign in to comment.