Skip to content

Commit a8e171f

Browse files
authored
Fix string-length limit in documentation for PYI054 (#16432)
1 parent cf83584 commit a8e171f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff_linter/src/rules/flake8_pyi/rules/numeric_literal_too_long.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use crate::checkers::ast::Checker;
1212
///
1313
/// ## Why is this bad?
1414
/// If a function has a default value where the literal representation is
15-
/// greater than 50 characters, the value is likely to be an implementation
15+
/// greater than 10 characters, the value is likely to be an implementation
1616
/// detail or a constant that varies depending on the system you're running on.
1717
///
1818
/// Default values like these should generally be omitted from stubs. Use

0 commit comments

Comments
 (0)