Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ use crate::rules::flake8_datetimez::helpers;
/// `datetime.datetime.today()` creates a "naive" object; instead, use
/// `datetime.datetime.now(tz=...)` to create a timezone-aware object.
///
/// The name `today()` can be misleading, because it suggests a calendar date,
/// but it actually returns the current local date and time as a `datetime`.
/// That can make intent harder to infer when reading code.
///
/// ## Example
/// ```python
/// import datetime
Expand Down
Loading