Fix reference to ban-relative-imports setting (#2776)

This commit is contained in:
Charlie Marsh 2023-02-11 13:34:25 -05:00 committed by GitHub
parent 863e39fe5f
commit 74731a3456
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -49,10 +49,10 @@ define_violation!(
/// > ```
///
/// Note that degree of strictness packages can be specified via the
/// [`strictness`](https://github.com/charliermarsh/ruff#strictness)
/// configuration option, which allows banning all relative imports (`strictness = "all"`)
/// or only those that extend into the parent module or beyond (`strictness = "parents"`,
/// the default).
/// [`ban-relative-imports`](https://github.com/charliermarsh/ruff#ban-relative-imports)
/// configuration option, which allows banning all relative imports
/// (`ban-relative-imports = "all"`) or only those that extend into the parent module or beyond
/// (`ban-relative-imports = "parents"`, the default).
///
/// ## Example
/// ```python