Skip to content

chore: import datetime as dt for ruff 0.17 - #49

Merged
lesnik512 merged 1 commit into
mainfrom
ruff-017-icn
Oct 10, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
ruff-017-icn

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

ruff 0.17.0, released 2026-10-09, enforces the datetime to dt import convention by default (ICN001), so ruff check fails on main. This applies ruff's own fix in the 6 file(s) that import datetime: import datetime as dt. None of them already used the name dt.

Test plan

  • ruff check and ruff format --check pass with ruff 0.17.0 and with the version the repo locks
  • ty
  • the test suite passes locally

@lesnik512
lesnik512 merged commit b06da5c into main Oct 10, 2026
4 checks passed
@lesnik512
lesnik512 deleted the ruff-017-icn branch October 10, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant