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

Because it's extremely cringe when stuff starts failing because some random dep got bumped.

project
feature

It's annoying that PR's default to the upstream repo. Probably better to do this sooner than later.

project

This would greatly improve the vendored stub use-case. So you can incrementally type stubs as they are used, and persist those typings when the member declarations are updated. # Workaround...

feature
p-3
stubgen
topic-stubs

Mypy doesn't really care about unrecognized options in the config file, but a feature like this might help with readability. ```toml [tool.mypy] sus_sus = true [tool.basedmypy] amongus = true ```...

feature
topic-configuration

The flag will default to false and will be mandatory for all targets. Eg: thirdparty.pyi ```py def foo(a: list[Any]) -> Any: ... ``` my.py ```py from thirdparty import foo reveal_type(foo)...

p-1
feature
feedback
topic-any

From #117 and #185 and others To provide an overview and insight into the current state of the baseline. Here is a mockup of what information it could contain: ```...

feature
basedline
p-2
feedback

Would be very based as you would be able to keep track of what strictness options you are currently adopting.

p-1
feature
basedline
topic-configuration

And use it when type checking.

feature
topic-configuration

Use case being that having an good option globally sucks because it can mess with third party stuff that was written for cringe features, and implicitly activating it for stuff...

p-1
feature
topic-configuration

Currently, `[[tool.mypy.overrides]]` in `pyproject.toml` needs to specify what the overrides apply to using `module`. Would be useful to be able to specify `path` instead (eg. to apply a different configuration...

p-1
feature
improvement
topic-configuration