typing
Here are 302 public repositories matching this topic...
The in-progress dev docs have a section on developer workflow: https://google.github.io/pytype/developers/index.html. We also have https://github.com/google/pytype/blob/master/CONTRIBUTING.md. They read like standalone docs with no knowledge of each other and contain different, occasionally overlapping (but at least not contradicting, I think) information. We should coordinate them in some way so
Flow supports contravariance (-), TypeScript doesn't.
Also, TypeScript doesn't support covariance (+) on all its types, but just some of them.
Hi there!
I found a spelling error in the documentation and I figured I'd report it. In the delayGenerator section:
However, if you wish to insert delays at specific points in the animation, consider useing the Delay Component instead.
'useing' should be spelled using.
:)
After lots of internal discussion, it seems that myself with some colleagues at work have concluded that the intent of NoReturn (official docs, pep484) is ambiguous, at least as listed in the docs.
Important: I mention mypy a lot in this, however, my concern isn'
-
Updated
Mar 29, 2020 - JavaScript
PyPi does not support markdown descriptions.
There are two options:
- Replace md Readme with rst one
- Add some kind of build step to compile ms to rst on wheel build
Which one to choose . . .
How to use Generics?
-
Updated
Apr 20, 2020 - JavaScript
-
Updated
May 14, 2020 - JavaScript
Right now the only way to restart mypy daemon is to do it manually in terminal. Also the daemon stays up even when exiting PyCharm.
It would be nice to add functions to restart the daemon since you have to do that to load new config files.
Would it be possible to make the type for JSON columns accept Mapping[str, Any] instead of (in addition to?) Dict[str, Any]? My specific use case is I have a fixed JSON schema that I represent with a TypedDict, but this is only compatible with Mapping, not Dict, so I have to either ignore the type or cast it when crea
Would it be useful to have a quotes database with things for those starting out touch typing. For example "j j j k k k", and "jjj kkk jjj kkk jkjk jkjk" and so on?
-
Updated
Feb 3, 2017 - JavaScript
-
Updated
May 29, 2019 - Java
If typing_inspect will become part of typing in the future (or some parts of it), then we can merge it with the typing stub.
When I run flake8, I just get a bunch of these errors and nothing else from mypy:
/home/ubuntu/.local/lib/python3.6/site-packages is in the MYPYPATH. Please remove it.
See https://mypy.readthedocs.io/en/latest/running_mypy.html#how-mypy-handles-imports for more info
-
Updated
May 8, 2020 - Python
-
Updated
Apr 20, 2020 - JavaScript
-
Updated
Dec 27, 2019 - Shell
-
Updated
Apr 9, 2019 - HTML
https://docs.python.org/3/library/typing.html#typing.Iterable
Here and below a lot of types (collections.abc types) , which you not include in your docs. You are not supported it? Or just forgot to add it? Please, added it
As per a suggestion on Twitter, you should be able to hold shift and click on an emoji button to immediately copy it.
A little popup could show feedback as you hover and then click. e.g. "Copy" => "Copied!", in a tiny bubble.
-
Updated
Apr 23, 2020 - Python
We get the return annotation for free, so we should allow users to do something with it.
-
Updated
Sep 6, 2019 - JavaScript
Improve this page
Add a description, image, and links to the typing topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the typing topic, visit your repo's landing page and select "manage topics."
I'm currently trying to type an API using the
signalmodule. At some point, we pass a callback that has the typesignal._Handler(see: https://github.com/python/typeshed/blob/master/stdlib/3/signal.pyi#L73), which is not in thesignalmodule, but in typeshed.If I try to import it, I get an error, and I could not find the proper way to do so in the documentation.