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

🚨 Cover server.py on mypy #1054

Merged
merged 11 commits into from
Jun 27, 2021
Merged

🚨 Cover server.py on mypy #1054

merged 11 commits into from
Jun 27, 2021

Conversation

Kludex
Copy link
Member

@Kludex Kludex commented May 30, 2021

No description provided.

@Kludex Kludex marked this pull request as draft May 30, 2021 18:25
@Kludex Kludex self-assigned this May 30, 2021
@Kludex Kludex marked this pull request as ready for review June 1, 2021 03:45
@Kludex
Copy link
Member Author

Kludex commented Jun 1, 2021

This failed on windows:

uvicorn\server.py:142: error: Module has no attribute "start_unix_server"; maybe "start_server"?  [attr-defined]

I've just ignored it.

uvicorn/server.py Outdated Show resolved Hide resolved
uvicorn/server.py Outdated Show resolved Hide resolved
@Kludex Kludex requested review from euri10 and graingert June 27, 2021 07:43
Copy link
Member

@euri10 euri10 left a comment

Choose a reason for hiding this comment

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

thanks @Kludex and @graingert for the help !

@euri10 euri10 merged commit 8b49f5e into encode:master Jun 27, 2021
Kludex added a commit that referenced this pull request Nov 17, 2021
* 🚨 Cover server.py on mypy

* fix all

* fix windows issue

* remove ignore

* add assert to satisfy mypy

* improve assertion

* merge master

* wrap start_unix_server
Kludex added a commit to sephioh/uvicorn that referenced this pull request Oct 29, 2022
* 🚨 Cover server.py on mypy

* fix all

* fix windows issue

* remove ignore

* add assert to satisfy mypy

* improve assertion

* merge master

* wrap start_unix_server
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.

3 participants