KotlinIsland
KotlinIsland
> I'm guessing this is because the type parameters of `slice` default to `Any`. But I don't see why such an _implicit_ `Any` should be considered as _explicit_. so this...
# Workaround Set an environment variable `TERM=xterm-256color` which will make pylint colored. ``` 👉 TERM=xterm-256color pylint . ```
- could this be related to #14764?
hmmmmmm, ts only allows `string | number | bigint | boolean | null | undefined`, even though you can implement a `toString`, i'm not too sure what to do here...
> ehh, are we talking about python? yeah, just referencing prior art I think ts kinda went with the idea of static string values are allowed, and when there is...
> ```pycon > >>> def f[T: str](t: T) -> f"asdf{T}": > ... return f"asdf{t}" > ... > >>> f.__annotations__ > {'t': T, 'return': 'asdfT'} > ``` > > maybe you...
> `self.__module__` isn't a type in this case 🤔 - #668 but that's nonsense anyway, that should return `str`
no, it should be `str`, because it's subtypes can return any `str`
Yeah, makes me cry that I have to set ruff to prefer the parenthesis 😢 I'm certain that it's an issue with pytest stubs, not with [based]mypy, the solutions I...
i know! lets reuse `untyped_calls_exclude`! perfect!