From b3b2f57d8ede765e96483282eaeafcf4817aae47 Mon Sep 17 00:00:00 2001 From: Gilles Peiffer Date: Mon, 10 Jun 2024 01:44:12 +0200 Subject: [PATCH] [`pylint`] Fix flag name in `too-many-public-methods` (`PLR0904`) (#11809) --- .../src/rules/pylint/rules/too_many_public_methods.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_linter/src/rules/pylint/rules/too_many_public_methods.rs b/crates/ruff_linter/src/rules/pylint/rules/too_many_public_methods.rs index c484c3ea0921a..26fca2d0786dc 100644 --- a/crates/ruff_linter/src/rules/pylint/rules/too_many_public_methods.rs +++ b/crates/ruff_linter/src/rules/pylint/rules/too_many_public_methods.rs @@ -19,7 +19,7 @@ use crate::checkers::ast::Checker; /// Instead, consider refactoring the class into separate classes. /// /// ## Example -/// Assuming that `pylint.max-public-settings` is set to 5: +/// Assuming that `lint.pylint.max-public-methods` is set to 5: /// ```python /// class Linter: /// def __init__(self):