mirror of https://github.com/astral-sh/ruff
Remove extend- from docstring configuration examples (#1571)
This commit is contained in:
parent
8647bec3cb
commit
e5a59f41b0
12
README.md
12
README.md
|
|
@ -1474,8 +1474,8 @@ For example, if you're coming from `flake8-docstrings`, the following configurat
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
extend-select = ["D"]
|
select = ["D"]
|
||||||
extend-ignore = [
|
ignore = [
|
||||||
"D107",
|
"D107",
|
||||||
"D203",
|
"D203",
|
||||||
"D212",
|
"D212",
|
||||||
|
|
@ -1492,8 +1492,8 @@ Similarly, the following is equivalent to `--docstring-convention=google`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
extend-select = ["D"]
|
select = ["D"]
|
||||||
extend-ignore = [
|
ignore = [
|
||||||
"D203",
|
"D203",
|
||||||
"D204",
|
"D204",
|
||||||
"D213",
|
"D213",
|
||||||
|
|
@ -1512,8 +1512,8 @@ Similarly, the following is equivalent to `--docstring-convention=pep8`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
extend-select = ["D"]
|
select = ["D"]
|
||||||
extend-ignore = [
|
ignore = [
|
||||||
"D203",
|
"D203",
|
||||||
"D212",
|
"D212",
|
||||||
"D213",
|
"D213",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue