Skip to content

Commit 4cb30b5

Browse files
authored
N817 docs: refer to the correct setting (#12935)
1 parent aba0d83 commit 4cb30b5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/ruff_linter/src/rules/pep8_naming/rules/camelcase_imported_as_acronym.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ use crate::rules::pep8_naming::helpers;
2323
/// to accommodate selective enforcement.
2424
///
2525
/// Also note that import aliases following an import convention according to the
26-
/// [`lint.flake8-boolean-trap.extend-allowed-calls`] option are allowed.
27-
///
26+
/// [`lint.flake8-import-conventions.aliases`] option are allowed.
2827
///
2928
/// ## Example
3029
/// ```python
@@ -39,7 +38,7 @@ use crate::rules::pep8_naming::helpers;
3938
/// [PEP 8]: https://peps.python.org/pep-0008/
4039
///
4140
/// ## Options
42-
/// - `lint.flake8-import-conventions.banned-aliases`
41+
/// - `lint.flake8-import-conventions.aliases`
4342
#[violation]
4443
pub struct CamelcaseImportedAsAcronym {
4544
name: String,

0 commit comments

Comments
 (0)