Skip to content

Conversation

@AnyaMarcanito
Copy link

¿Qué?
Se ha realizado un refactor de los imports de datetime para estandarizar su uso a través de múltiples módulos y así mejorar la consistencia y legibilidad del código.

¿Por qué?
Utilizar un alias consistente para los imports de datetime a través de diversos módulos ayuda a mantener un código más limpio, fácil de leer y de mantener.

¿Cómo?
Se han modificado los siguientes archivos para utilizar un alias común (dtm) para los imports de datetime:

tests/conftest.py
tests/test_business.py
tests/test_callbackquery.py
tests/test_chatboost.py
tests/test_chatfullinfo.py
tests/test_chatinvitelink.py
tests/test_chatjoinrequest.py
tests/test_chatmember.py
tests/test_chatmemberupdated.py
tests/test_forum.py
tests/test_message.py

@AnyaMarcanito AnyaMarcanito self-assigned this Dec 13, 2024
@AnyaMarcanito AnyaMarcanito added the enhancement New feature or request label Dec 13, 2024
Copy link

@Jeam-zx Jeam-zx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Copy link
Collaborator

@cuevasrja cuevasrja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link

@Migueldsc12 Migueldsc12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@AnyaMarcanito AnyaMarcanito merged commit fd9cbb6 into master Dec 13, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants