mypy
Here are 139 public repositories matching this topic...
Sometimes a websockets/subscription connection gets closed by the browser and trying to send a message fails, we have a catch all exception that sends the error via GraphQL (useful for resolver exceptions), but we need to handle websockets.exceptions.ConnectionClosedOK and terminate the subscription (a return should be enough).
https://github.com/strawberry-graphql/strawberry/blob/master/stra
-
Updated
Dec 5, 2020
-
Updated
Dec 21, 2020 - Python
-
Updated
Dec 28, 2020 - Python
-
Updated
Oct 6, 2020 - Python
-
Updated
Dec 15, 2020 - Python
-
Updated
Dec 25, 2020 - Python
Given the number of tools officially supported(tested) by nbqa is increasing with every release, should we create a separate section in the documentation to document usage of each tool supported by nbqa with some elaborate examples and recommended setting against each tool.
Suggestions are welcome!
-
Updated
Dec 22, 2020 - Python
-
Updated
Nov 10, 2020 - Python
-
Updated
Dec 25, 2020 - Python
-
Updated
Dec 19, 2020 - Python
-
Updated
Jun 19, 2020 - Python
-
Updated
Aug 2, 2020 - Java
-
Updated
Dec 25, 2020 - Python
-
Updated
Nov 12, 2020 - Python
-
Updated
Dec 24, 2020 - Python
-
Updated
Oct 8, 2019 - Vim script
-
Updated
Dec 2, 2019 - Python
When we define a class like this:
def func():
...
class MyClass:
my_func = lambda self, arg: arg
# or
class MyAnotherClass:
my_func = funcThe coverage plugin will consider the my_func as coveraged without any tests.
This behavior is expected because for it the my_func is an attribute!
I think it will be great use the normal signature, this will en
-
Updated
Dec 28, 2020 - Python
-
Updated
Dec 16, 2020 - Python
-
Updated
Dec 15, 2020 - Python
Improve this page
Add a description, image, and links to the mypy topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the mypy topic, visit your repo's landing page and select "manage topics."
We need to add
.. autosummary::to pages that need it.We also need to make sure that this tag renders smoothly.
Usage example: https://github.com/wemake-services/wemake-python-styleguide/blob/ba060dfd18606365d4c09545554b595fce025e79/wemake_python_styleguide/violations/best_practices.py#L16-L17
Docs: https://www.sphinx-doc.org/en/master/usage/extensions/autosummary.html