-
### Feature request
In `bw2data`, type checks are used for the following:
- To check for common typos, to prevent future frustration (see [whitelist values](https://github.com/brightway-lca/bright…
-
**Describe the bug**
Since the Open3D update I get this kind of a warning (see screenshots) in PyCharm when I try to add a point cloud as a geometry in a visualizer.
I've also seen issues like "Ex…
-
Consider:
```chpl
var A: [1:int(32)..10:int(32), 1:int(32)..10:int(32)] int = 2;
writeln(A[2:int(32), ..]); // I had to cast here
writeln(A[3,4]); // but not here
```
I noticed this wh…
-
### Describe the project you are working on
A project which tries to apply different sounds to UI elements, depending on their node type. For example, one sound for a Button and another sound for a C…
-
Weblate now requires Python 3.6, so it's now possible to use type hints and introduce type checking to our CI.
My experience with this is exactly zero and our code base is huge, so getting some exp…
nijel updated
2 weeks ago
-
Following the discussion in #75, we released a first version of the API breakage detection feature, which does not check if types (parameters types, return types) are compatible between the old and ne…
-
# mypy and static type checking
As of Python3.6, it has been possible to introduce typing information in the code. This became immensely popular in a short period of time. Shortly after, the tool `…
-
## New rule request
type ching using is
### Bad
```
if a as? Dog != nil {
doSomeThing()
}
```
### Good
```
if a is Dog {
doSomeThing()
}
if let dog = dog as? Dog {
…
-
**Describe the bug**
The .pyi's `Options` type only has `...`, so all access attempts fail type checks:
```python
@dataclass
class Options:
...
options: Options
```
**How To Reproduc…
-