mirror of https://github.com/astral-sh/ruff
Add flake8-builtins options to README (#2173)
This commit is contained in:
parent
0da691c0d5
commit
8e1fac620e
19
README.md
19
README.md
|
|
@ -2701,6 +2701,25 @@ extend-immutable-calls = ["fastapi.Depends", "fastapi.Query"]
|
|||
|
||||
---
|
||||
|
||||
### `flake8-builtins`
|
||||
|
||||
#### [`builtins-ignorelist`](#builtins-ignorelist)
|
||||
|
||||
Ignore list of builtins.
|
||||
|
||||
**Default value**: `[]`
|
||||
|
||||
**Type**: `Vec<String>`
|
||||
|
||||
**Example usage**:
|
||||
|
||||
```toml
|
||||
[tool.ruff.flake8-builtins]
|
||||
builtins-ignorelist = ["id"]
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `flake8-errmsg`
|
||||
|
||||
#### [`max-string-length`](#max-string-length)
|
||||
|
|
|
|||
|
|
@ -428,6 +428,7 @@ pub struct Options {
|
|||
#[option_group]
|
||||
/// Options for the `flake8-bugbear` plugin.
|
||||
pub flake8_bugbear: Option<flake8_bugbear::settings::Options>,
|
||||
#[option_group]
|
||||
/// Options for the `flake8-builtins` plugin.
|
||||
pub flake8_builtins: Option<flake8_builtins::settings::Options>,
|
||||
#[option_group]
|
||||
|
|
|
|||
Loading…
Reference in New Issue