Skip to content

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

Closed
lesnik512 wants to merge 1 commit into
mainfrom
ruff-017-icn
Closed

lesnik512 wants to merge 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 3 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

Copy link
Copy Markdown
Member Author

This was generated by AI.

Closing: #18 already imports datetime as dt in all three files, so main passes ruff 0.17.0 without this.

@lesnik512 lesnik512 closed this Oct 10, 2026
@lesnik512
lesnik512 deleted the ruff-017-icn branch October 10, 2026 08:09
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