N817 docs: refer to the correct setting (#12935)

This commit is contained in:
Alex Waygood
2024-08-16 16:41:00 +01:00
committed by GitHub
parent aba0d83c11
commit 4cb30b598f

View File

@@ -23,8 +23,7 @@ use crate::rules::pep8_naming::helpers;
/// to accommodate selective enforcement.
///
/// Also note that import aliases following an import convention according to the
/// [`lint.flake8-boolean-trap.extend-allowed-calls`] option are allowed.
///
/// [`lint.flake8-import-conventions.aliases`] option are allowed.
///
/// ## Example
/// ```python
@@ -39,7 +38,7 @@ use crate::rules::pep8_naming::helpers;
/// [PEP 8]: https://peps.python.org/pep-0008/
///
/// ## Options
/// - `lint.flake8-import-conventions.banned-aliases`
/// - `lint.flake8-import-conventions.aliases`
#[violation]
pub struct CamelcaseImportedAsAcronym {
name: String,