Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: convert type comments to type hints #255

Merged
merged 9 commits into from
Jul 31, 2023

Conversation

jooola
Copy link
Member

@jooola jooola commented Jul 21, 2023

The converts the type comments into type hints, and adds a few extra typing fixes.
Also improved readability by breaking down long typed argument lists on multiple lines.

Removing the types from the docstrings will be done in a future PR or gradually while improving the docstrings.

@jooola jooola marked this pull request as ready for review July 24, 2023 07:58
@apricote apricote changed the title refactor: convert type coments to type hints refactor: convert type comments to type hints Jul 25, 2023
Makefile Show resolved Hide resolved
hcloud/placement_groups/domain.py Show resolved Hide resolved
hcloud/core/client.py Show resolved Hide resolved
hcloud/core/client.py Show resolved Hide resolved
hcloud/core/client.py Show resolved Hide resolved
hcloud/servers/domain.py Outdated Show resolved Hide resolved
hcloud/servers/client.py Outdated Show resolved Hide resolved
hcloud/servers/client.py Outdated Show resolved Hide resolved
hcloud/servers/client.py Show resolved Hide resolved
hcloud/servers/client.py Show resolved Hide resolved
@jooola jooola merged commit aaf81ae into hetznercloud:main Jul 31, 2023
7 checks passed
@jooola jooola deleted the typings branch July 31, 2023 11:28
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.

2 participants