-
use either; https://github.com/Instagram/MonkeyType
or https://github.com/dropbox/pyannotate
the instagram one seems better since it doesn't generate type comments.
komuw updated
4 years ago
-
Type hints (for use with Mypy among others) can help for writing sound code. There are some tools, such as [MonkeyType](https://pypi.org/project/MonkeyType/) which may make adding these easier.
-
The current site design is a copy of monkeytype.com.
-
The low-level engine behind Hypothesis is [`hypothesis.internal.conjecture`](https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/src/hypothesis/internal/conjecture). While wel…
-
If I have two separate classes with the same name, but defined in separate modules, where both end up being used within type signatures in a third file then MonkeyType will import both directly into t…
-
Hello folks,
Recently [numpy](https://github.com/numpy/numpy/issues/7370) added some type hinting for their types. Tools like mypy is suppose to make it easier to test large codebases. There is a …
-
All of the following is tested on MonkeyType 23.3.0.
Suppose I have the following function as foo.py:
```python
def bar(nums):
return 0
```
And run the following code in test_foo.py:
…
-
I just discovered monkeytype and excitedly gave it a whirl.
It's a nice package. Thanks so much for it!
I use the kinda obscure package [smart-dash-mode](http://malsyned.net/smart-dash.html) so …
-
Hi @carljm ,
thanks for the hints! 😊
My setup is following:
```shell
(base) C:\projects>conda info
active environment : base
active env location : C:\Anaconda3
shell l…
-
```
WARNING: Failed decoding trace: Module 'builtins' has no attribute 'async_generator'
WARNING: Failed decoding trace: Module 'builtins' has no attribute 'async_generator'
WARNING: Failed decodin…