Skip to content

Commit

Permalink
Fixed typo in numpy deprecated type alias rule documentation (#5224)
Browse files Browse the repository at this point in the history
## Summary

It is a very simple typo fix in the "numy deprecated type alias"
documentation.
  • Loading branch information
Flowake authored Jun 20, 2023
1 parent 2c0ec97 commit 07409ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff/src/rules/numpy/rules/deprecated_type_alias.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::registry::AsRule;
/// ## Why is this bad?
/// NumPy's `np.int` has long been an alias of the builtin `int`. The same
/// goes for `np.float`, `np.bool`, and others. These aliases exist
/// primarily primarily for historic reasons, and have been a cause of
/// primarily for historic reasons, and have been a cause of
/// frequent confusion for newcomers.
///
/// These aliases were been deprecated in 1.20, and removed in 1.24.
Expand Down

0 comments on commit 07409ce

Please sign in to comment.