basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

Based Python static type checker with baseline, sane default settings and based typing features

Results 446 basedmypy issues
Sort by recently updated
recently updated
newest added

Currently asymmetric properties are not supported by `mypy`. It `mypy` this is considered a bug with high priority ([issue](https://github.com/python/mypy/issues/3004)). `basemypy` decided to go this way further and assume that properties...

p-1
upstream
feature

The current output can be really unhelpful when there are heaps of errors. By default you should get a breakdown of error code counts and errors per file.

p-1
feature
error codes
understandability

```py from typing import TypeAlias, TypeVar T = TypeVar('T', bound=bool) ListBool: TypeAlias = list[T] # expression contains Any (has type "type[list[Any]]") ```

feature
topic-any

```py from basedtyping import Untyped type: Untyped a: type[int] # Type of variable becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported] ```

bug

Scheduled job that detects release branches upstream then: 1. Creates a pr merging the base of said branch into `master` 2. Creates a release branch including the upstream release branch,...

p-1
project

It would be beneficial to users using IDE integration(but also makes the cli more readable) to have certain error show as warnings instead of error, this wouldn't have any functional...

feature
ide

```py from typing import Callable, TypeVar R = TypeVar("R") StrFn = TypeVar("StrFn", bound=Callable[[str], R]) def deco(fn: StrFn) -> StrFn: return fn @deco def foo(value: str): # error, incorrect ... @deco...

bug

This would be useful when invoked from an IDE, not so much from the cli. - for a cli alternative see #93 What if it said "baseline" instead of "note"?...

feature
basedline
p-2

https://github.com/KotlinIsland/basedmypy/pull/470#discussion_r1242932952

project

A very specific circular import can cause the reported error to be reported differently, and the error deduplicator is affected: 1. run on specific file `mypy test.py`: - expression contains...

bug
p-3
topic-any
needs egg
ide