-
Dear Graham,
I have a simple decorator, which checks if Keywords are present -
It is a PEP561 Package, so type annotated - but I cant annotate for wrapt :
I tried a lot of different version…
-
Have been feeding on my own dogfood for quite a while, the annotation of `XPathObject` as XPath evaluation result is one of the spots that I feel constantly irritated. Although the annotation itself i…
-
### Goal
Discover binding incompatibilities in your code through linting.
``` bash
$ Qt.py --lint my_module.py
#24:my_widget = QtGui.QWidget(): Should be QtWidgets.QWidget()
#103:header.setResizeMod…
-
Browsing through the code I've found a function called `write_to_textfile` in the `exposition` module. This function signature looks like this:
```python
def write_to_textfile(path, registry):
…
-
Passing any function through `compose()` seems to strip away all the information about the types of those functions.
Minimal example:
```python
import toolz
def f(x: int) -> str:
retu…
-
Get mypy checks running, activate things like `check_untyped_defs` later.
**Reporter**: [Uwe Korn](https://issues.apache.org/jira/browse/ARROW-8175) / @xhochy
#### PRs and other links:
- [GitHub Pull…
-
The following code runs fine, but mypy produce an error:
``` python
from typing import List
class Foo(object):
def __init__(self):
self.version = [1, 2, 3]
def __getitem__(self, k):…
-
I am seeing the issue described here: https://github.com/python/mypy/issues/3137 again on mypy 0.780, but only if the enum is stubbed
```
# test.py
from package import E
name = 'a'
val = E[name…
-
## Detailed Description
Try automatically running MyPy on this code, to do static analysis
We might want to turn off a bunch of the less interesting warnings / errors :)
-
Hi, are you interested in adding typing support to your project?
Right now with latest pyright and django-types field in a model behaves like `str`, becouse it's based on CharField.
To fix this,…